THotPDF.GetLoadedPageLayout Method
Reads the page layout name defined in the catalogue of the loaded PDF document
Declaration
function GetLoadedPageLayout: AnsiString;
Unit
HPDFDoc
Return value
| Name | Purpose |
|---|---|
| This member takes no explicit parameters | |
Return value
Returns an AnsiString value
Usage notes
- PageLayout controls how the reader arranges pages when the document opens; commonly used together with PageMode
- The default value is 'SinglePage', meaning one page is displayed at a time; to modify this, please use SetLoadedPageLayout
- Ensure the document has been successfully loaded before calling, otherwise returns an empty string