SpreadJS Documentation
ThemeColors class
GC.Spread.Sheets Namespace : ThemeColors class
Represents the theme color of built-in themes.
Syntax
var instance = new GC.Spread.Sheets.ThemeColors();
function ThemeColors;
Example
//This example creates a custom theme.
var custom = new GC.Spread.Sheets.Theme("CustomTheme");
custom.colors().accent1("red");
custom.colors().accent6("green");
custom.colors().textColor1("orange");
activeSheet.currentTheme(custom);
activeSheet.getCell(0, 0).backColor("accent 1");
activeSheet.getCell(1, 0).backColor("accent 1 30");
Inheritance Hierarchy

Object
   GC.Spread.Sheets.ThemeColors

Constructors
 NameDescription
public ConstructorRepresents the theme color of built-in themes.  
Top
Fields
 NameDescription
public FieldThe theme color of the Apex theme.  
public FieldThe theme color of the Aspect theme.  
public FieldThe theme color of the Civic theme.  
public FieldThe theme color of the Concourse theme.  
public FieldThe theme color of the Default theme.  
public FieldThe theme color of the Equity theme.  
public FieldThe theme color of the Flow theme.  
public FieldThe theme color of the Foundry theme.  
public FieldThe theme color of the Median theme.  
public FieldThe theme color of the Metro theme.  
public FieldThe theme color of the Module theme.  
public FieldThe theme color of the Office theme.  
public FieldThe theme color of the Office 2007 theme.  
public FieldThe theme color of the Opulent theme.  
public FieldThe theme color of the Oriel theme.  
public FieldThe theme color of the Origin theme.  
public FieldThe theme color of the Paper theme.  
public FieldThe theme color of the Solstice theme.  
public FieldThe theme color of the Technic theme.  
public FieldThe theme color of the Trek theme.  
public FieldThe theme color of the Urban theme.  
public FieldThe theme color of the Verve theme.  
Top
See Also

Reference

GC.Spread.Sheets Namespace
Using Themes