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_delete_pages

Deletes the specified pages.


Copy Code
AT_ERRCOUNT ACCUAPI IG_PDF_doc_delete_pages(
        HIG_PDF_DOC hDoc,
        LONG nStartPage,
        LONG nPageCount


Name Type Description
hDoc HIG_PDF_DOC The document from which pages are deleted.
nStartPage LONG The page number of the first page to delete. The first page is 0.
nPageCount LONG The number of pages to delete.

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.