AuditObjectReachability

Diagnostics

Description

Finds indirect objects unreachable from the document root

Syntax

Delphi

Function AuditObjectReachability: Integer;

Return values

NNumber of findings produced

Remarks

Marks every object reachable from the trailer /Root, /Info and /Encrypt references, then reports objects never visited as a WARN finding with the orphan count. Useful before GarbageCollectObjects to preview what a collection pass would remove

Example

N:= PDF.AuditObjectReachability;

See also

AuditDocumentSpace, AnalyseFile