THotPDF.GetLoadedPageMode Method
Reads the page display mode name defined in the catalogue of the loaded PDF document
Declaration
function GetLoadedPageMode: AnsiString;
Unit
HPDFDoc
Return value
| Name | Purpose |
|---|---|
| This member takes no explicit parameters | |
Return value
Returns an AnsiString value
Usage notes
- PageMode controls the reader's initial UI state when the document opens, such as showing the bookmarks panel or entering full-screen mode
- If this value needs to be modified, please use the SetLoadedPageMode method
- Ensure the document has been successfully loaded before calling, otherwise returns an empty string