ImageGear for C and C++ on Windows v21.0 - Updated
API Reference Guide / Core Component API Reference / Core Component Functions Reference / ColorBook Functions / IG_colorbook_add_color
In This Topic
    IG_colorbook_add_color
    In This Topic

    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.