Skip to content

RGLDocReaderOrientation

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

typedef NS_ENUM(NSInteger, RGLDocReaderOrientation) {
    RGLDocReaderOrientationRotate = 0,
    RGLDocReaderOrientationPortrait = 1,
    RGLDocReaderOrientationLandscape = 2
} NS_SWIFT_NAME(DocReaderOrientation);
Constant Description
RGLDocReaderOrientationRotate both portrait and landscape modes
RGLDocReaderOrientationPortrait portrait mode
RGLDocReaderOrientationLandscape landscape mode
Back to top