var instance = new GC.Spread.Sheets.Theme(name, colorScheme, headerFont, bodyFont);
function Theme;
var instance = new GC.Spread.Sheets.Theme(name, colorScheme, headerFont, bodyFont);
function Theme;
//This example creates a new SpreadTheme object. sheet.getCell(0, 0).backColor("accent 1"); sheet.getCell(1, 0).backColor("accent 6"); $("#btn").click(function () { var custom = new GC.Spread.Sheets.Theme("Custom"); custom.colors().accent1("red"); custom.colors().accent6("green"); sheet.currentTheme(custom); })
Object
GC.Spread.Sheets.Theme
Name | Description | |
---|---|---|
Theme Constructor | Represents a color scheme. |
Name | Description | |
---|---|---|
bodyFont | Gets or sets the body font of the theme. | |
colors | Gets or sets the base colors of the theme. | |
headerFont | Gets or sets the heading font of the theme. | |
name | Gets or sets the name of the theme. |