Skip to content

DocReaderOrientation

The constants of DocReaderOrientation enumeration identify the application's orientation.

class DocReaderOrientation {
  static const int ALL = 0;
  static const int PORTRAIT = 1;
  static const int LANDSCAPE = 2;
  static const int LANDSCAPE_LEFT = 3;
  static const int LANDSCAPE_RIGHT = 4;
}
Constant Description
ALL All interface orientations
PORTRAIT A portrait interface orientation
LANDSCAPE Both landscape-left and landscape-right interface orientation
LANDSCAPE_LEFT A landscape-left interface orientation
LANDSCAPE_RIGHT A landscape-right interface orientation
Back to top