SpreadsheetGear 2017
IColors Interface
Members 






SpreadsheetGear Namespace : IColors Interface
Represents the color palette of a workbook.
Object Model
IColors Interface
Syntax
'Declaration
 
<System.Reflection.DefaultMemberAttribute("Item")>
Public Interface IColors 
'Usage
 
Dim instance As IColors
[System.Reflection.DefaultMember("Item")]
public interface IColors 
public interface IColors 
System.Reflection.DefaultMemberAttribute("Item")
public interface IColors 
[System.Reflection.DefaultMember("Item")]
public __gc __interface IColors 
[System.Reflection.DefaultMember("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 SpreadsheetGear.Color, in which case the actual color to be used will be the color in the palette which is closest to the specified SpreadsheetGear.Color.

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

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IColors Members
SpreadsheetGear Namespace