The ExcelColorsPalette type exposes the following members.
Methods
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.
| |
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
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
| |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Reset |
Set the default colors for the palette
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
See Also