THotPDF.GetLoadedObjectByIndex Method
Method summary: THotPDF.GetLoadedObjectByIndex Method
Declaration
function GetLoadedObjectByIndex(Index: Integer): THPDFObject;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
Index | Zero-based index used to select an existing loaded object |
Return value
Returns a THPDFObject value
Usage notes
- Use this API in the document creation workflow before the affected page, resource, field or catalogue object is finalised
- Object names, field names, resource names and returned handles must stay stable until the document is finalised
- Loaded-document object references may be indirect; resolve arrays, dictionaries or streams before inspecting nested values