Skip to content

DocReaderOrientation

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

public class DocReaderOrientation {
    public static final int ALL = 0;
    public static final int PORTRAIT = 1;
    public static final int LANDSCAPE = 2;
    public static final int LANDSCAPE_LEFT = 3;
    public static final 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