<< Click to Display Table of Contents >> Navigation: GDI Print Directives > Paper |
Properties in this section allow you to define page layouts for the created PDF document.
Name |
Values |
Description |
PDFXv3 |
---|---|---|---|
LayoutType |
0 (Normal) |
Default = 0 (normal) |
(new) |
MirrorX |
Boolean |
Enables / disables horizontal mirroring of all drawings. Default = False |
(new) |
MirrorY |
Boolean |
Enables / disables vertical mirroring of all drawings. Default = False |
(new) |
SheetSizeIndex |
Specifies the sheet used for PDF creation. Default = -1. |
(new) |
|
|
|
||
-1 |
Auto sheet size. ln this case sheet size is dependent on the layout type and page size. |
||
0 to 41 |
Indices of the standard paper sizes defined in PDFX. See Standard Paper Sizes. |
||
|
|
|
|
|
|
|
Normal
The maximum height/width of a PDF page are 200" x 200" or approximately 5080x5080 mm as defined in the PDF Specification.
Name |
Values |
Description |
|
---|---|---|---|
LeftPos |
lnteger |
Position of the left edge of the page relative to the left edge of the sheet. Values are in tenths of millimeters. Default value: 0. Ignored unless Center and Fit are both False. |
(new) |
TopPos |
lnteger |
Position of the top edge of the page relative to the top edge of the sheet, in tenths of millimeters (default 0). Ignored unless Center and Fit are both False. |
(new) |
PageScale |
lnteger |
Specifies the scale level to use when positioning the page on the sheet. Value is in tenths of 1 percent. This property is only used if the Fit property is False. Default = 1000 |
(new) |
Center |
Boolean |
If this property is True, the page is centered on the sheet. Otherwise its position is determined by LeftPos and TopPos properties. This property is not used when the Fit property is True. Default = True |
(new) |
Fit |
Boolean |
Specifies that the page should be 'fitted' to the sheet. Default = True |
(new) |
n-Up
When the LayoutType specified is nUP, the following properties define how many and in which order, pages should be placed on the sheet.
Name |
Values |
Description |
PDFXv3 |
---|---|---|---|
Nup |
0 (one page per sheet 1 (two pages per sheet 2 (four pages per sheet 3 (six pages per sheet 4 (eight pages per sheet 5 (nine pages per sheet 6 (sixteen pages per sheet |
Defines the number of pages to be placed on one sheet. Default = 0 |
(same)* |
NupOrder |
0 (AcrossFromLeft) 1 (DownFromLeft) 2 (AcrossFromRight) 3 (DownFromRight) |
Defines the order in which pages should be placed on the sheet. Default = 0 (AcrossFromLeft) |
(same)* |
Borders |
Boolean |
Specifies if a border should be drawn around the pages on the sheet. Default = False |
(new) |
* See Compatibility notes below.
Booklet
When the LayoutType value is Booklet, the following properties define the booklet creation parameters.
Name |
Values |
Description |
PDFXv3 |
---|---|---|---|
BookletType |
0 (Brochure) 1 (Book) |
If the value of this property is Book, pages will be grouped in typographic gatherings by the number specified in the SheetslnBook property. Otherwise, the booklet will contain only one book with all the pages included. Default = 0 (Brochure) |
(new) |
SheetslnBook |
1-64 |
Defines the number of sheets in one book when the property BookletType has the value Book. Default = 4 |
(new) |
GutterSize |
Positive integer |
Defines the gutter size for the booklet. Value is specified in tenths of millimeters. Default value: <missing> |
(new) |
Examples
A 2-up arrangement with borders:
//PDFX,Paper.LayoutType,n-UP
//PDFX,Paper.Nup,1
//PDFX,Paper.NupOrder,AcrossFromLeft
//PDFX,Paper.Borders,True
A 4 page booklet with 25 mm gutters:
//PDFX,Paper.LayoutType,Booklet
//PDFX,Paper.BookletType,Book
//PDFX,Paper.SheetsInBook,4
//PDFX,Paper.GutterSize,250
Also see the HeadersFooters example in the Samples section for a detailed example involving the Paper.PageScale property.
Compatibility
PDFXv3 supported Paper.Nup and Paper.NupOrder, but the interpretation of the Paper.Nup values was different - actual number of pages per sheet (1,2,4,6,8…), vs. the coded values listed above in the table. All other properties in this section are new in PDFXv5.