ImageGear for C and C++ on Linux v20.0 - Updated
API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > General Objects > HIG_PDF_DOC > IG_PDF_doc_get_page_count

Gets the number of pages in the document.


Copy Code
AT_ERRCOUNT ACCUAPI IG_PDF_doc_get_page_count(
        HIG_PDF_DOC hDoc,
        LPUINT lpnCount


Name Type Description
hDoc HIG_PDF_DOC The document for which the number of pages is obtained.
lpnCount LPUINT The number of pages in the document.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.

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