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

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_PDF_doc_get_page_count(
        HIG_PDF_DOC hDoc,
        LPUINT lpnCount
);

Arguments:

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.