TPDFlibFindingRead

Data types, document comparison

Description

Returns one property of a cached comparison finding for the finding accessors.

TPDFlib declares the public methods and a protected dispatch method for reading back one finding of a document comparison. The edition class supplies the implementation as a callback of this type. A plain TPDFlib instance supplies none, so the call returns the documented empty result and sets LastErrorCode to PDFLIB_ERROR_SMALLBUSINESS_REQUIRED. Application code never declares, assigns or calls a value of this type.

Syntax

Delphi

TPDFlibFindingRead = Function(Comparison: TPDFlibDocumentComparison;
  Index: Integer; Field: TPDFlibFindingField): TPDFlibFindingValue Of Object;

Parameters

ComparisonComparison that produced the finding: dcObjects for the GetCompareFinding accessors, dcModifications for the GetModificationFinding accessors
IndexZero-based index of the finding in the cached result of the most recent comparison
FieldProperty to return: ffKind, ffObjectNumber or ffDetail

Return values

T

See also

TPDFlibFindingField, TPDFlibFindingValue, TPDFlibDocumentComparison, GetCompareFindingKind