THotPDF.GetLoadedDocumentReport Method
Builds a JSON object containing loaded-document structure, security, page, bookmark, form, annotation, attachment, and signature counts
Declaration
function GetLoadedDocumentReport(out AReport: AnsiString): boolean;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
AReport | Receives the JSON report when a document is loaded |
Return value
Returns True when a loaded document report was produced
Usage notes
- The returned JSON includes page, bookmark, form-field, annotation, embedded-file, and signature counts
- Call this after loading a document; otherwise it returns False and clears AReport