GetAnnotStateModel

注釈とホットスポットリンク

説明

GetAnnotStateModel はレビュー状態を持つ Text 注釈の /StateModel テキスト文字列 (ISO 32000-1 §12.5.6.3) を読み取ります。値は Review か Marked のいずれかです。

構文

Delphi

Function TPDFlib.GetAnnotStateModel(Index: Integer): WideString;

パラメータ

Index は選択したページ上の注釈の 1 始まりのインデックスです

戻り値

/StateModel の値を文字列(Review または Marked)として返します。注釈に /StateModel エントリが含まれていない場合は空の文字列を返します。

備考

状態値自体については GetAnnotState と組み合わせます。状態注釈は AddAnnotationState で作成されます