DAGetAnnotationCount

ダイレクトアクセス機能

説明

指定したページ上の注釈数を返します

構文

Delphi

Function TPDFlib.DAGetAnnotationCount(FileHandle, PageRef: Integer): Integer;

ActiveX

Function PDFlib::DAGetAnnotationCount(FileHandle As Long, PageRef As Long) As Long

DLL

int DLDAGetAnnotationCount(int InstanceID, int FileHandle, int PageRef);

パラメータ

FileHandleDAOpenFile、DAOpenFileReadOnly または DAOpenFromStream 関数により返されるハンドル
PageRefDAFindPage または DANewPage 関数から返されるページ参照

戻り値

指定されたページ上の注釈の数を返します。ファイルハンドルまたはページ参照が無効な場合は0を返します。