GetCompareFindingDetail

Diagnostics

Requires the Small Business edition — in Delphi, C++Builder and Lazarus code create the library as TPDFlibSmallBusiness (unit PDFlibSmallBusiness) or TPDFlibEnterprise; the Small Business and Enterprise DLL and ActiveX builds provide it unchanged; the Single edition keeps the method, which returns an empty string and sets LastErrorCode to 901 (PDFLIB_ERROR_SMALLBUSINESS_REQUIRED)

Description

Returns the human-readable detail of one comparison finding

Syntax

Delphi

Function GetCompareFindingDetail(Index: Integer): WideString; Virtual;

ActiveX

Function PDFlib::GetCompareFindingDetail(Index As Long) As String

DLL

const wchar_t* DLGetCompareFindingDetail(int InstanceID, int Index);
const char* DLGetCompareFindingDetailA(int InstanceID, int Index);

Parameters

IndexZero-based index of a finding produced by the most recent CompareWith call; valid values range from 0 to GetCompareFindingCount - 1

Return values

Empty string when the index is out of range; otherwise the finding description

Remarks

The detail names the classification (new object, object no longer present, object content changed, page count transition) and is intended for logs and reports

Example

Memo1.Lines.Add(PDF.GetCompareFindingDetail(I));

See also

AuditObjectReachability, GetDocumentJSON