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

This function removes ColorBook object with the specified index from the ColorBooks collection.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_colorbooks_remove_colorbook_by_index(
        AT_UINT nIndex
);

Arguments:

Name Type Description
nIndex AT_UINT Index of ColorBook to remove.

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.