Class $.wijmo.wijspread.SpreadTheme
Constructor Attributes | Constructor Name and Description |
---|---|
$.wijmo.wijspread.SpreadTheme(name, colors, headingFontName, bodyFontName)
Initializes Spread theme.
|
Method Attributes | Method Name and Description |
---|---|
bodyFont(value)
Gets the heading font family.
|
|
colors(value)
Gets or sets the base colors of the theme.
|
|
headerFont(value)
Gets or sets the name of the heading font.
|
|
name(value)
Gets or sets the name of the current theme.
|
Class Detail
$.wijmo.wijspread.SpreadTheme(name, colors, headingFontName, bodyFontName)
Initializes Spread theme.
var custom = new $.wijmo.wijspread.SpreadTheme("Custom"); custom.colors().accent1("red"); custom.colors().accent6("green"); sheet.currentTheme(custom);
- Parameters:
- name
- The name of the Spread theme.
- colors
- The base colors of the theme color.
- headingFontName
- Name of the heading font.
- bodyFontName
- Name of the body font.
Method Detail
bodyFont(value)
Gets the heading font family.
- Parameters:
- value
colors(value)
Gets or sets the base colors of the theme.
- Parameters:
- value
headerFont(value)
Gets or sets the name of the heading font.
- Parameters:
- value
name(value)
Gets or sets the name of the current theme.
- Parameters:
- value