THotPDF.GetLoadedAnnotationMeasure Method
Reads loaded annotation measure information from the current document creation state. Use the value to inspect parser results, shaping tables, resource availability, or diagnostic counters without mutating document output
Declaration
function GetLoadedAnnotationMeasure(PageIndex, AnnotationIndex: Integer; out Subtype: AnsiString; out Rectilinear: THPDFRectilinearMeasureInfo; out Geospatial: THPDFGeoMeasureInfo): boolean;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
PageIndex | Zero-based index or object index used to select an existing item |
AnnotationIndex | Zero-based index or object index used to select an existing item |
Subtype | Input used by GetLoadedAnnotationMeasure |
Rectilinear | Input used by GetLoadedAnnotationMeasure |
Geospatial | Input used by GetLoadedAnnotationMeasure |
Return value
Returns a boolean value
Usage notes
- Use this API in the document creation workflow before the affected page, resource, field, or catalog object is finalized
- Keep object names, field names, resource names, and returned handles stable until the document is finalized
- Loaded-document object references may be indirect; resolve arrays, dictionaries, or streams before inspecting nested values