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 | Receives the link /Rect normalized in PDF user space, with Left <= Right and Bottom <= Top |
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 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