GetModificationFindingDetail

Diagnostiek

Vereist de Small Business-editie. In Delphi-, C++Builder- en Lazarus-code maakt u de library aan als TPDFlibSmallBusiness (unit PDFlibSmallBusiness) of TPDFlibEnterprise; de Small Business- en Enterprise-DLL- en ActiveX-builds leveren die ongewijzigd aan. De Single-editie behoudt de methode, die 0, een lege string of False teruggeeft en LastErrorCode op 901 (PDFLIB_ERROR_SMALLBUSINESS_REQUIRED) zet

Beschrijving

Geeft de voor mensen leesbare detailtekst van één gecachte wijzigingsbevinding terug

Syntaxis

Delphi

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

ActiveX

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

DLL

const wchar_t* DLGetModificationFindingDetail(int InstanceID, int Index);
const char* DLGetModificationFindingDetailA(int InstanceID, int Index);

Parameters

IndexBevindingsindex beginnend bij 0, van 0 tot en met GetModificationFindingCount - 1

Retourwaarden

TekstBeschrijving van de wijziging en de classificatie ervan
Lege stringDe index valt buiten het bereik van de bevindingen in de cache

Opmerkingen

Detailtekst is diagnostische uitvoer bedoeld voor logs en rapporten

Een ongeldige index geeft een lege string terug zonder LastErrorCode te wijzigen

Voorbeeld

for I:= 0 to PDF.GetModificationFindingCount- 1 do
  Memo.Lines.Add(PDF.GetModificationFindingDetail(I));

Zie ook

AnalyzeModifications, GetModificationFindingLevel, GetModificationFindingObjNum