Winnovative Excel Library

ExcelColorsPalette Methods

Winnovative Excel Library Documentation

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 methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
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 methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodReset
Set the default colors for the palette
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also

Reference