Click or drag to resize

ExcelColorsPalette Class

Represents the Excel colors palette.
Inheritance Hierarchy
SystemObject
  ExpertXls.ExcelLibExcelColorsPalette

Namespace:  ExpertXls.ExcelLib
Assembly:  expertxls (in expertxls.dll) Version: 7.0.0
Syntax
public class ExcelColorsPalette

The ExcelColorsPalette type exposes the following members.

Properties
  NameDescription
Public propertyItem
Gets or sets the color from the specified index in palette
Top
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