RGLDocFormat
Objective-C
enum RGLDocFormat : NSInteger {}
Swift
enum DocFormat : Int, @unchecked Sendable
Defining the geometric format of documents in accordance with ISO / IEC 7810
-
ID1 document format.
Declaration
Objective-C
RGLDocFormatID1 = 0
Swift
case ID1 = 0
-
ID2 document format.
Declaration
Objective-C
RGLDocFormatID2 = 1
Swift
case ID2 = 1
-
ID3 document format.
Declaration
Objective-C
RGLDocFormatID3 = 2
Swift
case ID3 = 2
-
Undefined document format.
Declaration
Objective-C
RGLDocFormatNON = 3
Swift
case NON = 3
-
A4 document format.
Declaration
Objective-C
RGLDocFormatA4 = 4
Swift
case A4 = 4
-
ID3 double document format.
Declaration
Objective-C
RGLDocFormatID3_x2 = 5
Swift
case id3_x2 = 5
-
ID2 Turkey document format.
Declaration
Objective-C
RGLDocFormatID2_Turkey = 6
Swift
case id2_Turkey = 6
-
ID1 format document rotated 90 degrees.
Declaration
Objective-C
RGLDocFormatID1_90 = 10
Swift
case ID1_90 = 10
-
ID1 format document rotated 180 degrees.
Declaration
Objective-C
RGLDocFormatID1_180 = 11
Swift
case ID1_180 = 11
-
ID1 format document rotated 270 degrees.
Declaration
Objective-C
RGLDocFormatID1_270 = 12
Swift
case ID1_270 = 12
-
ID2 format document rotated 180 degrees.
Declaration
Objective-C
RGLDocFormatID2_180 = 13
Swift
case ID2_180 = 13
-
ID3 format document rotated 180 degrees.
Declaration
Objective-C
RGLDocFormatID3_180 = 14
Swift
case ID3_180 = 14
-
Arbitrary format.
Declaration
Objective-C
RGLDocFormatCustom = 1000
Swift
case custom = 1000
-
Photo format.
Declaration
Objective-C
RGLDocFormatPhoto = 1001
Swift
case photo = 1001
-
Flexible format. Standard formats can be resized during cropping, depending on various factors: light, background etc.
Declaration
Objective-C
RGLDocFormatFlexible = 1002
Swift
case flexible = 1002
-
Unknown format.
Declaration
Objective-C
RGLDocFormatUnknown = -1
Swift
case unknown = -1