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 Long

DLL

int DLGetModificationFindingLevel(int InstanceID, int Index);

參數

Index從 0 到 GetModificationFindingCount - 1 的發現索引(從 0 起算)

傳回值

0索引無效或無修改
1LTA 更新
2表單填寫
3附註變更
4未分類變更

備註

索引無效時傳回 0,0 同時也是 none 分類的數值

GetModificationLevel 傳回的整體值是所有有效發現項中的最大層級

範例

if PDF.GetModificationFindingLevel(I)= 4 then
  Log(PDF.GetModificationFindingDetail(I));

另請參閱

AnalyzeModifications, GetModificationFindingCount, GetModificationLevel