Skip to main content
PaperSizeModeEnum enumeration constants are used to denote modes of paper size selection during export to output file.
typedef enum {
 PSM_ImageSize,
 PSM_SynthesisSize,
 PSM_UserDefined,
 PSM_AutoFlexible,
 PSM_AutoFixed
} PaperSizeModeEnum;

Elements

NameDescription
PSM\_AutoFlexibleThe paper size is selected automatically for each page in the output file. The paper size is selected from the standard paper sizes so that the contents of the page fits into the paper size. For each page its own minimum paper size is selected.
PSM\_AutoFixedThe paper size is selected automatically from the standard paper sizes so that the contents of each page in the document fits into the selected paper size. The minimum paper size, into which the contents of each page in the document fits, is selected.
PSM\_ImageSizeThe paper size should be equal to the original size of the preprocessed image.
PSM\_SynthesisSizeThe paper size should be equal to the page size detected during synthesis.
PSM\_UserDefinedThe paper size is defined by the PaperHeight and PaperWidth properties of the PaperSizeParams object.

Used in

IPaperSizeParams::PaperSizeMode