THotPDF.GetLoadedDocumentInfo Method
Reads loaded document info information from the current document creation state. Use the value to inspect parser results, shaping tables, resource availability, or diagnostic counters without mutating document output
Declaration
function GetLoadedDocumentInfo(out ATitle, AAuthor, ASubject, AKeywords, ACreator, AProducer: AnsiString): boolean;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
ATitle | Human-readable text stored in the PDF object, action, annotation, or structure element |
AAuthor | Input used by GetLoadedDocumentInfo |
ASubject | Input used by GetLoadedDocumentInfo |
AKeywords | Input used by GetLoadedDocumentInfo |
ACreator | Input used by GetLoadedDocumentInfo |
AProducer | Input used by GetLoadedDocumentInfo |
Return value
Returns a boolean value
Usage notes
- Use this API in the document creation 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