ImageGear Professional DLL v17.1 for Windows Accusoft
IG_PDF_page_get_annotation_count
Send Feedback  
ImageGear Professional DLL v17.1 for Windows > API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > General Objects > HIG_PDF_PAGE > IG_PDF_page_get_annotation_count

Glossary Item Box

Gets the number of annotations on a page.

Declaration:

  Copy Code
AT_ERRCOUNT ACCUAPI IG_PDF_page_get_annotation_count(
        HIG_PDF_PAGE hPage,
        LPUINT lpnCount);

Arguments:

hPage The page for which the number of annotations is obtained.
lpnCount The number of annotations return value.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.

Remarks:

Annotations associated with pop-up windows (such as strikeouts) are counted as two annotations. Widget annotations (form fields) are included in the count.

©2012. Accusoft Corporation. All Rights Reserved.