THotPDF.SetLoadedPageLayout Method
Sets the default page arrangement layout mode for the loaded document in the reader, such as single page display, continuous scrolling, or two pages side-by-side.
Declaration
procedure SetLoadedPageLayout(const ALayout: AnsiString);
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
ALayout | Page layout identifier to set; common values include SinglePage, OneColumn, TwoColumnLeft and TwoColumnRight |
Usage notes
This member returns no value
Usage notes
- Use this API in the page geometry workflow before the affected page, resource, field or catalogue object is finalised
- The setting is stored in the document's Catalog dictionary
- When the modified document is saved and subsequently opened by a reader, the reader will attempt to render the page according to this suggested layout.