THotPDF.GetLoadedViewerPreferences Method
Reads the reader preference settings of the loaded document
Declaration
function GetLoadedViewerPreferences(out APrefs: THPDFViewerPreferences): boolean;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
APrefs | Input used by GetLoadedViewerPreferences |
Return value
Returns a boolean value
Usage notes
- Covers settings such as window mode and hidden UI elements
- Keep object names, field names, resource names, and returned handles stable until the document is finalised
- Loaded-document object references may be indirect; resolve arrays, dictionaries, or streams before inspecting nested values