THotPDF.GetLoadedLinkInfo Method
Reads loaded link info 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 GetLoadedLinkInfo(PageIndex, LinkIndex: Integer; out AURI: AnsiString; out ARect: THPDFRect): boolean;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
PageIndex | Zero-based index or object index used to select an existing item |
LinkIndex | Zero-based index or object index used to select an existing item |
AURI | External target address stored in the PDF action or link annotation |
ARect | Input used by GetLoadedLinkInfo |
Return value
Returns a boolean value
Usage notes
- Use this API in the annotation and action workflow before the affected page, resource, field, or catalog 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