See Also

IColors Members  | SpreadsheetGear Namespace

Requirements

Namespace: SpreadsheetGear

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: SpreadsheetGear (in SpreadsheetGear.dll)

Language

Visual Basic

C#

C++

C++/CLI

Show All

See Also Requirements Languages SpreadsheetGear The Performance Spreadsheet Component Company 

IColors Interface

SpreadsheetGear Namespace : IColors Interface

Represents the color palette of a workbook.

For a list of all members of this type, see IColors members.

Syntax

[Visual Basic]
<DefaultMemberAttribute("Item")> Public Interface IColors
[C#]
[DefaultMemberAttribute("Item")] public interface IColors
[C++]
[DefaultMemberAttribute("Item")] public __gc __interface IColors
[C++/CLI]
[DefaultMemberAttribute("Item")] public interface class 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 NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: SpreadsheetGear (in SpreadsheetGear.dll)

See Also

IColors Members  | SpreadsheetGear Namespace

 

 


See our live Excel Reporting, Excel Charting, Excel to DataGrid and Excel Calculation Samples.

Copyright © 2003-2007 SpreadsheetGear LLC. All Rights Reserved.

SpreadsheetGear and Spreadsheet Gear are trademarks of SpreadsheetGear LLC.