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 开始的发现索引,取值范围为 0 到 GetModificationFindingCount - 1

返回值

0索引无效或没有修改
1LTA 更新
2表单填写
3注释更改
4未分类更改

备注

无效索引返回 0;0 同时也是 none 分类的数值

GetModificationLevel 返回的总体值是所有有效查找结果中的最大级别

示例

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

另请参阅

AnalyzeModifications, GetModificationFindingCount, GetModificationLevel