ExcelColorsPalette Class |
Namespace: ExpertXls.ExcelLib
The ExcelColorsPalette type exposes the following members.
Name | Description | |
---|---|---|
AddColor |
Adds the specified color to palette and returns the index in palette where this color was added.
If there are no more available indexes in the palette the method will return the index
of the color in palette which is the closest to the specified color.
| |
GetColorIndex |
Gets the index in palette of the specified color. If the exact color is not found in the palette the
method will return the index of the color in palette which is the closest to the specified color.
| |
GetColors |
Gets the current palette colors
| |
Reset |
Set the default colors for the palette
|