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 | 要设置的页面布局标识。常见值包括:'SinglePage'(单页),'OneColumn'(单列连续),'TwoColumnLeft'(双列连续,奇数页在左侧)等。 |
Usage notes
- 该设置将保存于文档的 Catalog 字典中。
- 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.