THPDFPageLayout Type
Selects the /PageLayout viewer preference that the writer stores in the document catalogue
Declaration
THPDFPageLayout= (plSinglePage, plOneColumn, plTwoColumnLeft,
plTwoColumnRight, plTwoPageLeft, plTwoPageRight);
Unit
HPDFDoc
Values
| Value | Meaning |
|---|---|
plSinglePage |
Writes /SinglePage: show one page at a time; the default setting |
plOneColumn |
Writes /OneColumn: pages down a single continuous column |
plTwoColumnLeft |
Writes /TwoColumnLeft: two columns with the odd-numbered pages on the left |
plTwoColumnRight |
Writes /TwoColumnRight: two columns with the odd-numbered pages on the right |
plTwoPageLeft |
Writes /TwoPageLeft: two pages side by side with the odd-numbered pages on the left; needs PDF 1.5 |
plTwoPageRight |
Writes /TwoPageRight: two pages side by side with the odd-numbered pages on the right; needs PDF 1.5 |
Usage notes
- Assign through the
PageLayoutproperty; the writer emits the matching name into the catalogue when the document is saved plTwoPageLeftandplTwoPageRightneed PDF 1.5 or later; on lower versions the writer emits/SinglePageinstead