SpreadsheetGear 2023
IColors Interface

SpreadsheetGear Namespace : IColors Interface
Represents the color palette of a workbook.
Object Model
IColors Interface
Public Interface IColors 
Dim instance As IColors
public interface IColors 

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.


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


IColors Members
SpreadsheetGear Namespace