ImageGear Professional v18.2 > API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > General Objects > HIG_PDF_PAGE > IG_PDF_page_get_annotation_count |
Gets the number of annotations on a page.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_PDF_page_get_annotation_count( HIG_PDF_PAGE hPage, LPUINT lpnCount ); |
Name | Type | Description |
hPage | HIG_PDF_PAGE | The page for which the number of annotations is obtained. |
lpnCount | LPUINT | The number of annotations return value. |
Error count.
This function does not process image pixels.
Annotations associated with pop-up windows (such as strikeouts) are counted as two annotations. Widget annotations (form fields) are included in the count.