| ImageGear Professional v18.2 > API Reference Guide > Core Component API Reference > Core Component Objects > IGColorBook Class > IGColorBook Methods > AddNewColor Method |
Creates and adds a new color to the color book.
Sub AddNewColor(Name As String, ColorID As IGDLong, Pixel As
IGPixel)
| Name | Description |
|---|---|
| Name | Name of the color book |
| ColorID | Color ID of the color book |
| Pixel | Color space and value of the color (IGPixel Object) |
None
Display_View