GetModificationFindingLevel
診斷
需要 Small Business 版本。在 Delphi、C++Builder 與 Lazarus 程式碼中,請以 TPDFlibSmallBusiness(PDFlibSmallBusiness 單元)或 TPDFlibEnterprise 建立程式庫;Small Business 與 Enterprise DLL 及 ActiveX 組建原樣提供。Single 版本保留此方法,方法會傳回 0、空字串或 False,並將 LastErrorCode 設為 901(PDFLIB_ERROR_SMALLBUSINESS_REQUIRED)
描述
傳回一筆快取修改發現的分類層級
語法
Delphi
Function GetModificationFindingLevel(Index: Integer): Integer; Virtual;ActiveX
Function PDFlib::GetModificationFindingLevel(Index As Long) As LongDLL
int DLGetModificationFindingLevel(int InstanceID, int Index);參數
| Index | 從 0 到 GetModificationFindingCount - 1 的發現索引(從 0 起算) |
|---|
傳回值
| 0 | 索引無效或無修改 |
|---|---|
| 1 | LTA 更新 |
| 2 | 表單填寫 |
| 3 | 附註變更 |
| 4 | 未分類變更 |
備註
索引無效時傳回 0,0 同時也是 none 分類的數值
GetModificationLevel 傳回的整體值是所有有效發現項中的最大層級
範例
if PDF.GetModificationFindingLevel(I)= 4 then
Log(PDF.GetModificationFindingDetail(I));另請參閱
AnalyzeModifications, GetModificationFindingCount, GetModificationLevel