ImageGear for C and C++ on Windows v21.0 - Updated
API Reference Guide / PDF Component API Reference / PDF Component Objects Reference / General Objects / HIG_PDF_DOC / IG_PDF_doc_get_page_count
In This Topic
    IG_PDF_doc_get_page_count
    In This Topic

    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.