ImageGear for C and C++ on Windows v19.6 - Updated
IG_colorbook_colors_per_page_get
API Reference Guide > Core Component API Reference > Core Component Functions Reference > ColorBook Functions > IG_colorbook_colors_per_page_get

This function gets the number of colors per page in the ColorBook (should be not greater than 9).

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_colorbook_colors_per_page_get(
        HIGCOLORBOOK hColorBook,
        AT_UINT* lpnColorsPerPage
);

Arguments:

Name Type Description
hColorBook HIGCOLORBOOK Color book object.
lpnColorsPerPage AT_UINT* Number of colors per page in the ColorBook.

Return Value:

Returns the number of ImageGear errors that occurred during this function call. If there are no errors, the return value is IGE_SUCCESS.

Supported Raster Image Formats:

This function does not process image pixels.