ImageGear for C and C++ on Windows v19.10 - Updated
IG_PDF_doc_delete_pages
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.

Declaration:

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

Arguments:

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.