GetModificationFindingDetailA
診斷
需要 Small Business 版本。在 Delphi、C++Builder 與 Lazarus 程式碼中,請以 TPDFlibSmallBusiness(PDFlibSmallBusiness 單元)或 TPDFlibEnterprise 建立程式庫;Small Business 與 Enterprise DLL 及 ActiveX 組建原樣提供。Single 版本保留此方法,方法會傳回 0、空字串或 False,並將 LastErrorCode 設為 901(PDFLIB_ERROR_SMALLBUSINESS_REQUIRED)
描述
結尾的 A 表示 ANSI(char)DLL 進入點;ActiveX/COM 介面只提供 Unicode 形式。行為與 GetModificationFindingDetail 完全相同,字串參數依目前 SetAnsiMode 的字碼頁解讀
傳回一筆快取修改發現的人類可讀詳細文字
語法
Delphi
Function DLGetModificationFindingDetailA(InstanceID: Integer; Index: Integer): PAnsiChar;
DLL
const char* DLGetModificationFindingDetailA(int InstanceID, int Index);
參數
| Index | 從 0 到 GetModificationFindingCount - 1 的發現索引(從 0 起算) |
|---|
傳回值
| Text | 變更描述及其分類 |
|---|---|
| 空字串 | 索引超出已快取的檢查結果範圍 |
備註
詳細文字是供日誌與報告使用的診斷輸出
索引無效時傳回空字串,且不更動 LastErrorCode
範例
for I:= 0 to PDF.GetModificationFindingCount- 1 do
Memo.Lines.Add(PDF.GetModificationFindingDetail(I));另請參閱
AnalyzeModifications, GetModificationFindingLevel, GetModificationFindingObjNum