SpreadsheetGear
IColors Interface
Members  See Also  Send Feedback
SpreadsheetGear Namespace : IColors Interface

Represents the color palette of a workbook.

Syntax

Visual Basic (Declaration) 
<DefaultMemberAttribute("Item")>
Public Interface IColors 
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 SpreadsheetGear.Drawing.Color, in which case the actual color to be used will be the color in the palette which is closest to the specified SpreadsheetGear.Drawing.Color.

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

Requirements

Namespace: SpreadsheetGear

Platforms: x86 and x64 versions of Windows 2000, Windows XP, Windows Vista, Windows 7, Windows Server 2003 (including R2) and Windows Server 2008 (including R2). SpreadsheetGear 2009 requires the Microsoft .NET Framework 2.0 and supports .NET 3.0 and .NET 3.5.

Assembly: SpreadsheetGear (in SpreadsheetGear.dll)

See Also

Copyright © 2003-2009 SpreadsheetGear LLC. All Rights Reserved.Help Powered by Innovasys   
SpreadsheetGear is a registered trademark of SpreadsheetGear LLC.
Microsoft, Microsoft Excel and Visual Studio are trademarks or registered trademarks of Microsoft Corporation.