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

This function gets the number of colors in the ColorBook.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_colorbook_color_count_get(
        HIGCOLORBOOK hColorBook,
        AT_UINT* lpnCount
);

Arguments:

Name Type Description
hColorBook HIGCOLORBOOK Color book object.
lpnCount AT_UINT* Number of colors 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.