ImageGear for C and C++ on Windows v20.3 - Updated
IG_colorbook_add_color
API Reference Guide > Core Component API Reference > Core Component Functions Reference > ColorBook Functions > IG_colorbook_add_color

This function adds a new Color to the color book.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_colorbook_add_color(
        HIGCOLORBOOK hColorBook,
        HIGCOLORBOOKCOLOR hColorBookColor
);

Arguments:

Name Type Description
hColorBook HIGCOLORBOOK Color book object.
hColorBookColor HIGCOLORBOOKCOLOR ColorBook Color to add.

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.

Is this page helpful?
Yes No
Thanks for your feedback.