THotPDF.GetLoadedSummary Method

Scans and extracts key statistical information from the loaded document, including total pages, number of annotations, fonts, images, form fields, and digital signatures.

Declaration

function GetLoadedSummary(out APageCount, AAnnotationCount, AFontCount, AImageCount, AFormFieldCount, ASignatureCount: Integer): Boolean;

Unit

HPDFDoc

Parameters

NamePurpose
APageCountReturns the total number of pages in the PDF document.
AAnnotationCountReturns the total number of annotations contained in the document.
AFontCountReturns the total number of embedded or referenced fonts used in the document.
AImageCountReturns the total number of image objects contained in the document.
AFormFieldCountReturns the total number of interactive form fields contained in the document.
ASignatureCountReturns the number of digital signatures contained in the document.
AIsEncryptedInput supplied to GetLoadedSummary
AHasAcroFormInput supplied to GetLoadedSummary
AHasStructureTreeInput supplied to GetLoadedSummary

Return value

Returns True when the document summary statistics were extracted successfully

Usage notes

Related APIs