THotPDF.GetLoadedObjectLifecycleState

Looks up a loaded indirect object by its PDF object number and returns its current lifecycle state

Declaration

function GetLoadedObjectLifecycleState(
  ObjectNumber: Integer;
  out State: THPDFObjectLifecycleState
): boolean;

The method returns False when no loaded object has the supplied number

See also: GetLoadedObjectLifecycleStatistics