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

Decrements HIG_PDF_PAGE's PDF content internal reference count.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_PDF_page_release_content(
        HIG_PDF_PAGE hPage
);

Arguments:

Name Type Description
hPage HIG_PDF_PAGE The page whose content object's use count is decremented.

Return Value:

Error count.

Supported Raster Image Formats:

This function does not process image pixels.

Remarks:

The content is not automatically deleted when the reference count becomes zero - it remains in the cache until the cache slot is needed for another HIG_PDF_PAGE. Thus, you do not need to keep a content acquired for performance reasons.