AuditPageTree
Diagnostics
Description
Audits the page tree for Kids, Count and Parent consistency
Syntax
Delphi
Function AuditPageTree: Integer;Return values
| N | Number of findings produced; read them with the GetAuditFinding accessors |
|---|
Remarks
Walks every /Type /Pages node and verifies that a /Kids array exists, that the declared /Count matches the actual number of leaf pages beneath the node, and that child nodes carry /Parent back-references. Findings use OK, WARN and ERROR severities. The findings stay available until the next audit call
Example
N:= PDF.AuditPageTree;