GetModificationFindingDetail
Diagnostic
Nécessite l’édition Small Business. En code Delphi, C++Builder et Lazarus, créez la bibliothèque comme TPDFlibSmallBusiness (unité PDFlibSmallBusiness) ou TPDFlibEnterprise ; les builds DLL et ActiveX Small Business et Enterprise la fournissent à l’identique. L’édition Single conserve la méthode, qui renvoie 0, une chaîne vide ou False et définit LastErrorCode à 901 (PDFLIB_ERROR_SMALLBUSINESS_REQUIRED)
Description
Renvoie le texte de détail lisible par un humain d'une constatation de modification en cache
Syntaxe
Delphi
Function GetModificationFindingDetail(Index: Integer): WideString; Virtual;ActiveX
Function PDFlib::GetModificationFindingDetail(Index As Long) As StringDLL
const wchar_t* DLGetModificationFindingDetail(int InstanceID, int Index);
const char* DLGetModificationFindingDetailA(int InstanceID, int Index);Paramètres
| Index | Index de constatation à base zéro, de 0 à GetModificationFindingCount - 1 |
|---|
Valeurs de retour
| Text | Description de la modification et de sa classification |
|---|---|
| Chaîne vide | L’index se situe hors de la plage des constats en cache |
Remarques
Le texte de détail est une sortie de diagnostic destinée aux journaux et rapports
Un index non valide renvoie une chaîne vide sans modifier LastErrorCode
Exemple
for I:= 0 to PDF.GetModificationFindingCount- 1 do
Memo.Lines.Add(PDF.GetModificationFindingDetail(I));Voir aussi
AnalyzeModifications, GetModificationFindingLevel, GetModificationFindingObjNum