THotPDF.GetLoadedSummary Method
Reads loaded summary 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 GetLoadedSummary(out APageCount, AAnnotationCount, AFontCount, AImageCount, AFormFieldCount, ASignatureCount: Integer; out AIsEncrypted, AHasAcroForm, AHasStructureTree: boolean): boolean;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
APageCount | Input used by GetLoadedSummary |
AAnnotationCount | Input used by GetLoadedSummary |
AFontCount | Input used by GetLoadedSummary |
AImageCount | Input used by GetLoadedSummary |
AFormFieldCount | AcroForm field name or field dictionary targeted by the helper |
ASignatureCount | Input used by GetLoadedSummary |
AIsEncrypted | Input used by GetLoadedSummary |
AHasAcroForm | Input used by GetLoadedSummary |
AHasStructureTree | Input used by GetLoadedSummary |
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