GetCompareFindingDetailA

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

The trailing A denotes the ANSI (char) DLL entry point; the ActiveX/COM surface exposes only the Unicode form. Behaviour is identical to GetCompareFindingDetail and string arguments are interpreted using the current SetAnsiMode code page

Returns the human-readable detail of one comparison finding

Syntax

Delphi

Function DLGetCompareFindingDetailA(InstanceID: Integer; Index: Integer): PAnsiChar;

DLL

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

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