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

This function adds a color book from file to the ColorBooks collection.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_colorbooks_add_colorbook_from_file(
        LPCHAR lpFileName
);

Arguments:

Name Type Description
lpFileName LPCHAR Color book filename (an *.acb file).

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.