PXV_PaperType Enumeration
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
m (Automatic page editing by robot) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
[[Category:Editor]] | [[Category:Editor]] | ||
{{#customTitle:PXV_PaperType Enumeration}} | {{#customTitle:PXV_PaperType Enumeration}} | ||
− | {{#parentPage:PXV:PXV_Enumerations|PXV_PaperType | + | {{#parentPage:PXV:PXV_Enumerations|PXV_PaperType|enum}} |
− | + | ||
− | + | Method for the specification of the document's page size. | |
== Syntax == | == Syntax == | ||
Line 22: | Line 21: | ||
:Undefined value. | :Undefined value. | ||
;PaperType_Document | ;PaperType_Document | ||
− | :The size of the new document page is taken from the page | + | :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 | ;PaperType_Standard | ||
− | :The size of the | + | :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 | ;PaperType_Custom | ||
− | :The width and height of the | + | :The width and height of the page is specified directly. |
;PaperType_BySource | ;PaperType_BySource | ||
− | :The size of the new | + | :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 |
== See Also == | == See Also == | ||
− | [[PXV:IPXV_PageSizeCtl_PaperType]] | + | [[PXV:IPXV_PageSizeCtl_PaperType|IPXV_PageSizeCtl::PaperType]] |
Latest revision as of 23:55, 19 May 2018
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