var instance = new GC.Spread.Sheets.ColorScheme(name, background1, background2, text1, text2, accent1, accent2, accent3, accent4, accent5, accent6, link, followedLink);
function ColorScheme;
var instance = new GC.Spread.Sheets.ColorScheme(name, background1, background2, text1, text2, accent1, accent2, accent3, accent4, accent5, accent6, link, followedLink);
function ColorScheme;
//This example creates colors for the theme. var ntheme = new GC.Spread.Sheets.Theme("customThemeColor"); ntheme.colors().accent1("lightgreen"); activeSheet.currentTheme(ntheme); activeSheet.getCell(0, 0).backColor("accent 1"); activeSheet.getCell(1, 0).backColor("accent 1 30");
Object
GC.Spread.Sheets.ColorScheme
Name | Description | |
---|---|---|
![]() | ColorScheme Constructor | Creates a ColorScheme instance. |
Name | Description | |
---|---|---|
![]() | accent1 | Gets or sets the accent1 theme color of the color scheme. |
![]() | accent2 | Gets or sets the accent2 theme color of the color scheme. |
![]() | accent3 | Gets or sets the accent3 theme color of the color scheme. |
![]() | accent4 | Gets or sets the accent4 theme color of the color scheme. |
![]() | accent5 | Gets or sets the accent5 theme color of the color scheme. |
![]() | accent6 | Gets or sets the accent6 theme color of the color scheme. |
![]() | background1 | Gets or sets the background1 theme color of the color scheme. |
![]() | background2 | Gets or sets the background2 theme color of the color scheme. |
![]() | followedHyperlink | Gets or sets the followed hyperlink theme color of the color scheme. |
![]() | getColor | Gets the color based on the theme color. |
![]() | hyperlink | Gets or sets the hyperlink theme color of the color scheme. |
![]() | name | Gets or sets the name of the color scheme. |
![]() | textColor1 | Gets or sets the textcolor1 theme color of the color scheme. |
![]() | textColor2 | Gets or sets the textcolor2 theme color of the color scheme. |