Winnovative Excel Library

ExcelColorsPalette Class

Winnovative Excel Library Documentation
Represents the Excel colors palette.
Inheritance Hierarchy

SystemObject
  Winnovative.ExcelLibExcelColorsPalette

Namespace:  Winnovative.ExcelLib
Assembly:  wnvxls (in wnvxls.dll) Version: 10.0.0.0 (10.0.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 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