RGLDocReaderOrientation
Objective-C
NS_ENUM(NSInteger, RGLDocReaderOrientation) {
/// Both portrait and landscape modes
RGLDocReaderOrientationRotate = 0,
/// Portrait mode
RGLDocReaderOrientationPortrait = 1,
/// Landscape mode
RGLDocReaderOrientationLandscape = 2
}
Swift
enum DocReaderOrientation : Int, @unchecked Sendable
Undocumented
-
Both portrait and landscape modes
Declaration
Objective-C
RGLDocReaderOrientationRotate = 0
Swift
case rotate = 0
-
Portrait mode
Declaration
Objective-C
RGLDocReaderOrientationPortrait = 1
Swift
case portrait = 1
-
Landscape mode
Declaration
Objective-C
RGLDocReaderOrientationLandscape = 2
Swift
case landscape = 2