Click or drag to resize

ExcelColorsPalette Methods

The ExcelColorsPalette type exposes the following members.

Methods
 NameDescription
Public methodAddColor 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.
Public methodGetColorIndex 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.
Public methodGetColors Gets the current palette colors
Public methodReset Set the default colors for the palette
Top
See Also