Spread.Sheets Documentation
ThemeColors Constructor
Represents the theme color of built-in themes.
Syntax
var instance = new GC.Spread.Sheets.ThemeColors();
function ThemeColors() : 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");
See Also

Reference

ThemeColors class

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.