ImageGear for C and C++ on Windows v19.10 - Updated
IG_PDF_page_get_crop_box
API Reference Guide > PDF Component API Reference > PDF Component Objects Reference > General Objects > HIG_PDF_PAGE > IG_PDF_page_get_crop_box

Gets the crop box for the page.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_PDF_page_get_crop_box(
        HIG_PDF_PAGE hPage,
        LPAT_PDF_FIXEDRECT lpFixedBox
);

Arguments:

Name Type Description
hPage HIG_PDF_PAGE The page whose crop box is obtained.
lpFixedBox LPAT_PDF_FIXEDRECT The crop box.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.