SpreadsheetGear The Performance Spreadsheet Component Company 
IColors Interface
See Also  Members  
SpreadsheetGear Namespace : IColors Interface
Represents the color palette of a workbook.

Syntax

C# 
[DefaultMemberAttribute("Item")]
public interface IColors 

Remarks

Text and object colors are stored internally as indexes into a palette. Every workbook is created with a default color palette. Use the IColors interface to query the color palette or to modify it.

Most objects provide the option of specifying a color as an index into this color palette or as an instance of System.Drawing.Color, in which case the actual color to be used will be the color in the palette which is closest to the specified System.Drawing.Color.

Workbooks with a custom color palette are saved with the custom palette.

Requirements

Namespace: SpreadsheetGear

Platforms: Windows Vista, Windows XP, Windows Server 2008, Windows Server 2003, Windows 2000, Windows Me and Windows 98, including 32 bit and 64 bit editions where applicable. SpreadsheetGear for .NET 1.x requires the Microsoft .NET Framework 1.1 or .NET 2.0 (works with .NET 3.x). SpreadsheetGear for .NET 2007 requires the Microsoft .NET Framework 2.0 (works with .NET 3.x).

Assembly: SpreadsheetGear (in SpreadsheetGear.dll)

See Also