methodtPdfDocument.ObjectLocation
function ObjectLocation(aNumber: Integer; out aType: Byte; out aOffset: Int64; out aGeneration: Integer): Boolean;
ObjectLocation reports WHERE the cross-reference map places object aNumber, without loading it: aType is the xref entry type (1 = at a byte offset, 2 = inside an object stream), aOffset the file offset (type 1) or the container object number (type 2), aGeneration the generation (type 1) or the index within the container (type 2). Returns False for a free or absent entry. Comparing this between a document and an earlier revision of itself is how a verifier detects which objects a later incremental update SUPERSEDED.