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 函式傳回的控制代碼 |
|---|---|
| PageRef | 由 DAFindPage 或 DANewPage 函式傳回的頁面參照 |
傳回值
傳回指定頁面上註解的數量。檔案控制代碼或頁面參照無效時傳回 0。