[]
• new ThemeColors()
Represents the theme color of built-in themes.
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");
• Apex: ColorScheme
The theme color of the Apex theme.
example
//This example uses the Apex theme.
activeSheet.currentTheme("Apex");
activeSheet.resumePaint();
activeSheet.repaint();
• Aspect: ColorScheme
The theme color of the Aspect theme.
example
//This example uses the Aspect theme.
activeSheet.currentTheme("Aspect");
activeSheet.resumePaint();
activeSheet.repaint();
• Civic: ColorScheme
The theme color of the Civic theme.
example
//This example uses the Civic theme.
activeSheet.currentTheme("Civic");
activeSheet.resumePaint();
activeSheet.repaint();
• Concourse: ColorScheme
The theme color of the Concourse theme.
example
//This example uses the Concourse theme.
activeSheet.currentTheme("Concourse");
activeSheet.resumePaint();
activeSheet.repaint();
• Default: ColorScheme
The theme color of the Default theme.
example
//This example sets the Default theme.
activeSheet.currentTheme("Default");
activeSheet.resumePaint();
activeSheet.repaint();
• Equity: ColorScheme
The theme color of the Equity theme.
example
//This example sets the Equity theme.
activeSheet.currentTheme("Equity");
activeSheet.resumePaint();
activeSheet.repaint();
• Flow: ColorScheme
The theme color of the Flow theme.
example
//This example sets the Flow theme.
activeSheet.currentTheme("Flow");
activeSheet.resumePaint();
activeSheet.repaint();
• Foundry: ColorScheme
The theme color of the Foundry theme.
example
//This example sets the Foundry theme.
activeSheet.currentTheme("Foundry");
activeSheet.resumePaint();
activeSheet.repaint();
• Median: ColorScheme
The theme color of the Median theme.
example
//This example sets the Median theme.
activeSheet.currentTheme("Median");
activeSheet.resumePaint();
activeSheet.repaint();
• Metro: ColorScheme
The theme color of the Metro theme.
example
//This example sets the Metro theme.
activeSheet.currentTheme("Metro");
activeSheet.resumePaint();
activeSheet.repaint();
• Module: ColorScheme
The theme color of the Module theme.
example
//This example sets the Module theme.
activeSheet.currentTheme("Module");
activeSheet.resumePaint();
activeSheet.repaint();
• Office: ColorScheme
The theme color of the Office theme.
example
//This example sets the Office theme.
activeSheet.currentTheme("Office");
activeSheet.resumePaint();
activeSheet.repaint();
• Office2007: ColorScheme
The theme color of the Office 2007 theme.
example
//This example uses the Office2007 theme.
activeSheet.currentTheme("Office2007");
activeSheet.resumePaint();
activeSheet.repaint();
• Opulent: ColorScheme
The theme color of the Opulent theme.
example
//This example sets the Opulent theme.
activeSheet.currentTheme("Opulent");
activeSheet.resumePaint();
activeSheet.repaint();
• Oriel: ColorScheme
The theme color of the Oriel theme.
example
//This example sets the Oriel theme.
activeSheet.currentTheme("Oriel");
activeSheet.resumePaint();
activeSheet.repaint();
• Origin: ColorScheme
The theme color of the Origin theme.
example
//This example sets the Origin theme.
activeSheet.currentTheme("Origin");
activeSheet.resumePaint();
activeSheet.repaint();
• Paper: ColorScheme
The theme color of the Paper theme.
example
//This example sets the Paper theme.
activeSheet.currentTheme("Paper");
activeSheet.resumePaint();
activeSheet.repaint();
• Solstice: ColorScheme
The theme color of the Solstice theme.
example
//This example sets the Solstice theme.
activeSheet.currentTheme("Solstice");
activeSheet.resumePaint();
activeSheet.repaint();
• Technic: ColorScheme
The theme color of the Technic theme.
example
//This example sets the Technic theme.
activeSheet.currentTheme("Technic");
activeSheet.resumePaint();
activeSheet.repaint();
• Trek: ColorScheme
The theme color of the Trek theme.
example
//This example sets the Trek theme.
activeSheet.currentTheme("Trek");
activeSheet.resumePaint();
activeSheet.repaint();
• Urban: ColorScheme
The theme color of the Urban theme.
example
//This example sets the Urban theme.
activeSheet.currentTheme("Urban");
activeSheet.resumePaint();
activeSheet.repaint();
• Verve: ColorScheme
The theme color of the Verve theme.
example
//This example sets the Verve theme.
activeSheet.currentTheme("Verve");
activeSheet.resumePaint();
activeSheet.repaint();