Skip to content


The RGLDocFormat enumeration contains a set of identifiers that determine the document geometric format according to the ISO/IEC 7810.

typedef NS_ENUM(NSInteger, RGLDocFormat) {
  RGLDocFormatID1        = 0,
  RGLDocFormatID2        = 1,
  RGLDocFormatID3        = 2,
  RGLDocFormatID3_x2     = 5,
  RGLDocFormatCustom    = 1000,
  RGLDocFormatFlexible  = 1002
} NS_SWIFT_NAME(DocFormat);
Constant Description
RGLDocFormatID1 ID1 format document
RGLDocFormatID2 ID2 format document
RGLDocFormatID3 ID3 format document
RGLDocFormatID3_x2 double ID3 format document
RGLDocFormatCustom custom format, for internal use
RGLDocFormatFlexible non-format document, for internal use