THotPDF.GetLoadedPageThumbnailSize Method
Reads loaded page thumbnail size information from 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 GetLoadedPageThumbnailSize(PageIndex: Integer; out AWidth, AHeight: Integer): boolean;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
PageIndex | Zero-based index or object index used to select an existing item |
AWidth | Input supplied to GetLoadedPageThumbnailSize |
AHeight | Input supplied to GetLoadedPageThumbnailSize |
Return value
Returns a boolean value
Usage notes
- Use this API in the page geometry workflow before the affected page, resource, field, or catalogue object is finalised
- Keep object, field and resource names, and returned handles, stable whilst the document is being finalised
- Loaded-document object references may be indirect; resolve arrays, dictionaries, or streams before inspecting nested values