THotPDF.GetLoadedOutlineItem Method
Reads loaded outline item information from the current paragraph and outline state. Use the value to inspect parser results, shaping tables, resource availability, or diagnostic counters without mutating document output
Declaration
function GetLoadedOutlineItem(Index: Integer; out ATitle: AnsiString; out ADestinationPageIndex: Integer): boolean;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
Index | Zero-based index or object index used to select an existing item |
ATitle | Human-readable text stored in the PDF object, action, annotation, or structure element |
ADestinationPageIndex | Zero-based index or object index used to select an existing item |
Return value
Returns a boolean value
Usage notes
- Use this API in the paragraph and outline 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