SpreadJS Documentation
SpreadTheme class
Represents an expression with a named variable as the expression.
Syntax
var instance = new GcSpread.Sheets.SpreadTheme(name, themeColor, headingFont, bodyFont);
function SpreadTheme;
Example
This example creates a new SpreadTheme object.
var custom = new GcSpread.Sheets.SpreadTheme("Custom");
custom.colors().accent1("red");
custom.colors().accent6("green");
sheet.currentTheme(custom);
Inheritance Hierarchy

Object
   GcSpread.Sheets.SpreadTheme

Constructors
 NameDescription
public ConstructorSpreadTheme ConstructorRepresents an expression with a named variable as the expression.  
Top
Methods
 NameDescription
public MethodbodyFontGets or sets the body font.  
public MethodcolorsGets or sets the base colors of the theme.  
public MethodheaderFontGets or sets the heading font.  
public MethodnameGets or sets the name of the current theme.  
Top
See Also

Reference

GcSpread.Sheets Namespace

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.