DeleteAnnotation

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

説明

選択したページから注釈を削除します

構文

Delphi

Function TPDFlib.DeleteAnnotation(Index: Integer): Integer;

ActiveX

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

DLL

int DLDeleteAnnotation(int InstanceID, int Index);

パラメータ

Index削除する注釈のインデックスです。ページ上の最初の注釈のインデックスは 1 です。AnnotationCount 関数は、選択したページ上の注釈総数を返します

戻り値

0指定した注釈を削除できませんでした。Index パラメーターの値が 1 から AnnotationCount 関数が返す値の間であることを確認してください
1指定した注釈をページから正常に削除しました