[]
        
(Showing Draft Content)

GC.Spread.Sheets.ThemeColors

Class: ThemeColors

Spread.Sheets.ThemeColors

Table of contents

Constructors

Properties

Constructors

constructor

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");

Properties

Apex

Static Apex: ColorScheme

The theme color of the Apex theme.

example

//This example uses the Apex theme.
activeSheet.currentTheme("Apex");
activeSheet.resumePaint();
activeSheet.repaint();

Aspect

Static Aspect: ColorScheme

The theme color of the Aspect theme.

example

//This example uses the Aspect theme.
activeSheet.currentTheme("Aspect");
activeSheet.resumePaint();
activeSheet.repaint();

Civic

Static Civic: ColorScheme

The theme color of the Civic theme.

example

//This example uses the Civic theme.
activeSheet.currentTheme("Civic");
activeSheet.resumePaint();
activeSheet.repaint();

Concourse

Static Concourse: ColorScheme

The theme color of the Concourse theme.

example

//This example uses the Concourse theme.
activeSheet.currentTheme("Concourse");
activeSheet.resumePaint();
activeSheet.repaint();

Default

Static Default: ColorScheme

The theme color of the Default theme.

example

//This example sets the Default theme.
activeSheet.currentTheme("Default");
activeSheet.resumePaint();
activeSheet.repaint();

Equity

Static Equity: ColorScheme

The theme color of the Equity theme.

example

//This example sets the Equity theme.
activeSheet.currentTheme("Equity");
activeSheet.resumePaint();
activeSheet.repaint();

Flow

Static Flow: ColorScheme

The theme color of the Flow theme.

example

//This example sets the Flow theme.
activeSheet.currentTheme("Flow");
activeSheet.resumePaint();
activeSheet.repaint();

Foundry

Static Foundry: ColorScheme

The theme color of the Foundry theme.

example

//This example sets the Foundry theme.
activeSheet.currentTheme("Foundry");
activeSheet.resumePaint();
activeSheet.repaint();

Median

Static Median: ColorScheme

The theme color of the Median theme.

example

//This example sets the Median theme.
activeSheet.currentTheme("Median");
activeSheet.resumePaint();
activeSheet.repaint();

Metro

Static Metro: ColorScheme

The theme color of the Metro theme.

example

//This example sets the Metro theme.
activeSheet.currentTheme("Metro");
activeSheet.resumePaint();
activeSheet.repaint();

Module

Static Module: ColorScheme

The theme color of the Module theme.

example

//This example sets the Module theme.
activeSheet.currentTheme("Module");
activeSheet.resumePaint();
activeSheet.repaint();

Office

Static Office: ColorScheme

The theme color of the Office theme.

example

//This example sets the Office theme.
activeSheet.currentTheme("Office");
activeSheet.resumePaint();
activeSheet.repaint();

Office2007

Static 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

Static Opulent: ColorScheme

The theme color of the Opulent theme.

example

//This example sets the Opulent theme.
activeSheet.currentTheme("Opulent");
activeSheet.resumePaint();
activeSheet.repaint();

Oriel

Static Oriel: ColorScheme

The theme color of the Oriel theme.

example

//This example sets the Oriel theme.
activeSheet.currentTheme("Oriel");
activeSheet.resumePaint();
activeSheet.repaint();

Origin

Static Origin: ColorScheme

The theme color of the Origin theme.

example

//This example sets the Origin theme.
activeSheet.currentTheme("Origin");
activeSheet.resumePaint();
activeSheet.repaint();

Paper

Static Paper: ColorScheme

The theme color of the Paper theme.

example

//This example sets the Paper theme.
activeSheet.currentTheme("Paper");
activeSheet.resumePaint();
activeSheet.repaint();

Solstice

Static Solstice: ColorScheme

The theme color of the Solstice theme.

example

//This example sets the Solstice theme.
activeSheet.currentTheme("Solstice");
activeSheet.resumePaint();
activeSheet.repaint();

Technic

Static Technic: ColorScheme

The theme color of the Technic theme.

example

//This example sets the Technic theme.
activeSheet.currentTheme("Technic");
activeSheet.resumePaint();
activeSheet.repaint();

Trek

Static Trek: ColorScheme

The theme color of the Trek theme.

example

//This example sets the Trek theme.
activeSheet.currentTheme("Trek");
activeSheet.resumePaint();
activeSheet.repaint();

Urban

Static Urban: ColorScheme

The theme color of the Urban theme.

example

//This example sets the Urban theme.
activeSheet.currentTheme("Urban");
activeSheet.resumePaint();
activeSheet.repaint();

Verve

Static Verve: ColorScheme

The theme color of the Verve theme.

example

//This example sets the Verve theme.
activeSheet.currentTheme("Verve");
activeSheet.resumePaint();
activeSheet.repaint();