DetachStructTreeCursorAnnot

タグ付き PDF、構造修復

説明

PageNumber の注釈 AnnotIndex を指す一致する /Type /OBJR kid エントリを取り除きます

構文

Delphi

Function TPDFlib.DetachStructTreeCursorAnnot(CursorID, PageNumber, AnnotIndex: Integer): Integer;

パラメータ

CursorID有効な構造要素カーソル
PageNumber1 起算のページ番号
AnnotIndexPage /Annots 内の 1 起算の注釈インデックス

戻り値

少なくとも 1 つの一致する OBJR を取り除けたら 1、それ以外は 0

備考

古い注釈 /StructParent キーは、次の ReconcileStructParentTree 呼び出しで剥ぎ取られます