GetModificationFindingObjNum

Diagnostics

Description

Returns the indirect object number associated with one cached modification finding

Syntax

Delphi

Function GetModificationFindingObjNum(Index: Integer): Integer;

Parameters

IndexZero-based finding index from 0 through GetModificationFindingCount - 1

Return values

0Invalid index or a document-level finding without an indirect object number
NPositive PDF indirect object number associated with the finding

Remarks

Object numbers identify objects in the compared document revision and are not finding indexes

Use GetModificationFindingDetail when a finding has no object number or when a human-readable description is required

Example

ObjNum:= PDF.GetModificationFindingObjNum(I);
if ObjNum> 0 then LogObject(ObjNum);

See also

AnalyzeModifications, GetModificationFindingCount, GetModificationFindingDetail