THotPDF.SetPageLayout Method
Sets the suggested page view layout mode when the PDF is opened in a reader.
Declaration
procedure SetPageLayout(const Value: THPDFPageLayout);
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
Value | Enumeration value specifying the layout mode |
Usage
This member returns no value
Usage notes
- Set the layout before
BeginDocso version negotiation occurs before the PDF header is written - Sets document display preferences, affecting the default view layout for end users when opening the file for the first time.
plTwoPageLeftandplTwoPageRightrequire PDF 1.5 and automatically raise the output version unlessStrictVersionLockis enabled - Strict PDF 1.4 or earlier output falls back to
plSinglePagefor either two-page layout
See also
- THotPDF
- Directory
- Contents