THPDFUnreachableObjectInfo Record

Object graph reachability totals together with the object numbers found to be 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 that were enumerated in the loaded document
ReachableObjectCountObjects the mark-and-scan walk reached from the document roots
UnreachableObjectCountObjects that no root can reach, i.e. garbage left behind by earlier edits
RemovedObjectCountUnreachable objects that were actually deleted; nonzero only under the uopRemove policy
ObjectNumbersObject numbers belonging to the unreachable objects that were found

Usage notes

Related APIs