PXV_PaperType Enumeration

From PDF XChange PDF SDK
Revision as of 10:40, 23 May 2015 by Dsbot (Talk | contribs) (Automatic page editing by robot)

Jump to: navigation, search


Specifies the method for document page size specification

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 page is taken from the page of the document in position where the new page will be inserted.
PaperType_Standard
The size of the document page is specified by the one of the standart page sizes (A4, ANSI B, JIS B3, etc) (see StdPaperID)
PaperType_Custom
The width and height of the document page is specified directly
PaperType_BySource
The size of the new document page is defined by the source - f.e. taken from the image when this image is being inserted as a new page