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 98, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family. SpreadsheetGear for .NET 1.x requires the Microsoft .NET Framework 1.1 or 2.0. SpreadsheetGear for .NET 2006 requires the Microsoft .NET Framework 2.0.

Assembly: SpreadsheetGear (in SpreadsheetGear.dll)

See Also