ImageGear for C and C++ on Windows v20.1 - Updated
IG_PDF_page_get_annotation_count
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.

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.

Is this page helpful?
Yes No
Thanks for your feedback.