| 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.
|
Copy Code
|
|
|---|---|
AT_ERRCOUNT ACCUAPI IG_colorbooks_add_colorbook_from_file(
LPCHAR lpFileName
);
|
|
| Name | Type | Description |
|---|---|---|
| lpFileName | LPCHAR | Color book filename (an *.acb file). |
Returns the number of ImageGear errors that occurred during this function call. If there are no errors, the return value is IGE_SUCCESS.
This function does not process image pixels.