ExpertXls Excel Library for .NET
ExcelColorsPalette Class
Namespaces ► ExpertXls.ExcelLib ► ExcelColorsPalette
ExpertXls Excel Library for .NET
Represents the Excel colors palette.
Declaration Syntax

C# | Visual Basic | Visual C++

    public class ExcelColorsPalette

    Public Class ExcelColorsPalette

    public ref class ExcelColorsPalette

Members

All Members | Methods | Properties
Public Protected | Instance Static | Declared Inherited

Icon | Member | Description
--- | --- | ---
| AddColor(Color) | 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(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
| Finalize()()() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
| GetColorIndex(Color) | 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.)
| Item[([(Int32])]) | Gets or sets the color from the specified index in palette
| 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.)

Inheritance Hierarchy

Object
| ExcelColorsPalette

Assembly: ExpertXls.ExcelLib (Module: ExpertXls.ExcelLib) Version: 2.1.0.0 (2.1.0.0)