| API Reference Guide > Core Component API Reference > Core Component Functions Reference > ColorBook Collection Functions > IG_colorbooks_colorbook_by_index_get |
This function gets a ColorBook object with the specified index from the ColorBooks collection.
|
Copy Code
|
|
|---|---|
AT_ERRCOUNT ACCUAPI IG_colorbooks_colorbook_by_index_get(
AT_UINT nIndex,
HIGCOLORBOOK* lphColorBook
);
|
|
| Name | Type | Description |
|---|---|---|
| nIndex | AT_UINT | Index of the requested ColorBook. |
| lphColorBook | HIGCOLORBOOK* | Obtained ColorBook object. |
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.