GetModificationFindingLevel

診断

Small Business エディションが必要です。Delphi、C++Builder、Lazarus のコードでは、ライブラリを TPDFlibSmallBusiness(ユニット PDFlibSmallBusiness)または TPDFlibEnterprise として作成します。Small Business 版と Enterprise 版の DLL および ActiveX ビルドでは、そのまま利用できます。Single エディションでもメソッド自体は残っており、0、空文字列、または False を返し、LastErrorCode に 901 (PDFLIB_ERROR_SMALLBUSINESS_REQUIRED) を設定します

説明

キャッシュされた改変発見項目1つの分類レベルを返します

構文

Delphi

Function GetModificationFindingLevel(Index: Integer): Integer; Virtual;

ActiveX

Function PDFlib::GetModificationFindingLevel(Index As Long) As Long

DLL

int DLGetModificationFindingLevel(int InstanceID, int Index);

パラメータ

Index0から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