THotPDF.GetLoadedInfoKeyName Method
Gets the key name in the document information dictionary
Declaration
function GetLoadedInfoKeyName(Index: Integer): AnsiString;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
Index | Zero-based index or object index used to select an existing item |
Return value
Returns an AnsiString value
Usage notes
- Reads Title, Author and custom metadata keys
- 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