PXV_PaperType Enumeration
From PDF XChange PDF SDK
Method for the specification of the document's page size.
Syntax
enum PXV_PaperType { PaperType_Undefined = -1, PaperType_Document = 0, PaperType_Standard = 1, PaperType_Custom = 2, PaperType_BySource = 3, };
Constants
- PaperType_Undefined
- Undefined value.
- PaperType_Document
- The size of the new document's page is taken from the page in the position where the new page will be inserted.
- PaperType_Standard
- The size of the page is specified by the one of the standard page sizes (A4, ANSI B, JIS B3, etc) (see StdPaperID)
- PaperType_Custom
- The width and height of the page is specified directly.
- PaperType_BySource
- The size of the new page is defined by the source - i.e. taken from the image, when this image is being inserted as a new page