getWidthDimensionIndex property

int get getWidthDimensionIndex

Returns the index for getting width of print frame from array of

Implementation

int get getWidthDimensionIndex {
  switch (this) {
    case PrintOrientation.Landscape:
      return 1;
    case PrintOrientation.Portrait:
      return 0;
  }
}