SpreadsheetGear 2010
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

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

See Also

Copyright © 2003-2010 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.