ImageGear Professional DLL v18.1 for Windows
IG_PDF_page_get_annotation_count
Send Feedback
ImageGear Professional v18.1 > 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:

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.

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.

©2014. Accusoft Corporation. All Rights Reserved.