THotPDF.GetLoadedPageViewports Method
Reads the page viewport information out of the current page geometry state. Use the value to inspect parser results, shaping tables, resource availability or diagnostic counters without mutating document output
Declaration
function GetLoadedPageViewports(PageIndex: Integer): THPDFViewportInfoArray;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
PageIndex | Zero-based index or object index used to select an existing item |
Return value
Returns a THPDFViewportInfoArray value
Usage notes
- Use this API in the page geometry workflow before the affected page, resource, field or catalogue object is finalised
- 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