THotPDF.SetLoadedPageMode Method
Specifies the page mode for the loaded PDF document when opened in a reader (such as Acrobat Reader), for example, whether to display the outline navigation sidebar by default.
Declaration
procedure SetLoadedPageMode(const AMode: AnsiString);
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
AMode | The page mode to set; typical values include UseNone, UseOutlines, UseThumbs and FullScreen |
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
- A viewer preference that exists purely to improve the browsing experience
- Not all third-party PDF readers fully support every mode value, but this setting behaves stably in standard readers.