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);

参数

FileHandle由 DAOpenFile、DAOpenFileReadOnly 或 DAOpenFromStream 函数返回的句柄
PageRefDAFindPage 或 DANewPage 函数返回的页面引用