THotPDF.GetLoadedAnnotationURI Method
Reads loaded annotation uri information from the current annotation and action state. Use the value to inspect parser results, shaping tables, resource availability, or diagnostic counters without mutating document output
Declaration
function GetLoadedAnnotationURI(PageIndex, AnnotationIndex: Integer): AnsiString;
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 |
Return value
Returns an AnsiString value
Usage notes
- Use this API in the annotation and action 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