[]
        
(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

Apex: ColorScheme

The theme color of the Apex theme.

example

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

Aspect

Aspect: ColorScheme

The theme color of the Aspect theme.

example

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

Civic

Civic: ColorScheme

The theme color of the Civic theme.

example

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

Concourse

Concourse: ColorScheme

The theme color of the Concourse theme.

example

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

Default

Default: ColorScheme

The theme color of the Default theme.

example

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

Equity

Equity: ColorScheme

The theme color of the Equity theme.

example

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

Flow

Flow: ColorScheme

The theme color of the Flow theme.

example

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

Foundry

Foundry: ColorScheme

The theme color of the Foundry theme.

example

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

Median

Median: ColorScheme

The theme color of the Median theme.

example

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

Metro

Metro: ColorScheme

The theme color of the Metro theme.

example

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

Module

Module: ColorScheme

The theme color of the Module theme.

example

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

Office

Office: ColorScheme

The theme color of the Office theme.

example

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

Office2007

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

Opulent: ColorScheme

The theme color of the Opulent theme.

example

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

Oriel

Oriel: ColorScheme

The theme color of the Oriel theme.

example

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

Origin

Origin: ColorScheme

The theme color of the Origin theme.

example

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

Paper

Paper: ColorScheme

The theme color of the Paper theme.

example

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

Solstice

Solstice: ColorScheme

The theme color of the Solstice theme.

example

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

Technic

Technic: ColorScheme

The theme color of the Technic theme.

example

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

Trek

Trek: ColorScheme

The theme color of the Trek theme.

example

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

Urban

Urban: ColorScheme

The theme color of the Urban theme.

example

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

Verve

Verve: ColorScheme

The theme color of the Verve theme.

example

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