THPDFUnreachableObjectInfo Record

Object graph reachability totals and the object numbers found unreachable from the document roots

Declaration

THPDFUnreachableObjectInfo= record
  TotalObjectCount: Integer;
  ReachableObjectCount: Integer;
  UnreachableObjectCount: Integer;
  RemovedObjectCount: Integer;
  ObjectNumbers: THPDFObjectNumberArray;
end;

Unit

HPDFDoc

Fields

FieldPurpose
TotalObjectCountIndirect objects enumerated in the loaded document
ReachableObjectCountObjects reached by the mark-and-scan walk from the document roots
UnreachableObjectCountObjects no root can reach, i.e. garbage left by earlier edits
RemovedObjectCountUnreachable objects actually deleted, nonzero only under the uopRemove policy
ObjectNumbersObject numbers of the unreachable objects found

Usage notes

Related APIs