PXV_PaperType Enumeration

From PDF XChange PDF SDK
Jump to: navigation, search
Line 3: Line 3:
 
{{#customTitle:PXV_PaperType Enumeration}}
 
{{#customTitle:PXV_PaperType Enumeration}}
 
{{#parentPage:PXV:PXV_Enumerations|PXV_PaperType|enum}}
 
{{#parentPage:PXV:PXV_Enumerations|PXV_PaperType|enum}}
{{ToReview}}
+
 
  
 
Method for the specification of the document's page size.
 
Method for the specification of the document's page size.

Revision as of 09:50, 4 September 2015


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