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