[]
        
(Showing Draft Content)

GC.Spread.Sheets.ThemeColors

类: ThemeColors

Spread.Sheets.ThemeColors

Table of contents

构造方法

属性

构造方法

constructor

new ThemeColors()

内置主题的主题颜色

代码示例

//本示例创建了一个自定义主题
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

Apex: ColorScheme

Apex主题颜色

代码示例

//本示例使用了Apex主题
activeSheet.currentTheme("Apex");
activeSheet.resumePaint();
activeSheet.repaint();

Aspect

Aspect: ColorScheme

Aspect主题颜色

代码示例

//本例使用Aspect主题
activeSheet.currentTheme("Aspect");
activeSheet.resumePaint();
activeSheet.repaint();

Civic

Civic: ColorScheme

Civic主题颜色

代码示例

//本示例使用了Civic主题
activeSheet.currentTheme("Civic");
activeSheet.resumePaint();
activeSheet.repaint();

Concourse

Concourse: ColorScheme

Concourse主题颜色

代码示例

//本例使用Concourse主题
activeSheet.currentTheme("Concourse");
activeSheet.resumePaint();
activeSheet.repaint();

Default

Default: ColorScheme

默认主题颜色

代码示例

//本示例设置默认主题
activeSheet.currentTheme("Default");
activeSheet.resumePaint();
activeSheet.repaint();

Equity

Equity: ColorScheme

Equity主题颜色

代码示例

//本示例设置了Equity主题
activeSheet.currentTheme("Equity");
activeSheet.resumePaint();
activeSheet.repaint();

Flow

Flow: ColorScheme

Flow主题颜色

代码示例

//本示例设置了Flow主题
activeSheet.currentTheme("Flow");
activeSheet.resumePaint();
activeSheet.repaint();

Foundry

Foundry: ColorScheme

Foundry主题颜色

代码示例

//本示例设置了Foundry主题
activeSheet.currentTheme("Foundry");
activeSheet.resumePaint();
activeSheet.repaint();

Median

Median: ColorScheme

Median主题颜色

代码示例

//本示例设置了Median主题
activeSheet.currentTheme("Median");
activeSheet.resumePaint();
activeSheet.repaint();

Metro

Metro: ColorScheme

Metro主题颜色

代码示例

//本示例设置了Metro主题
activeSheet.currentTheme("Metro");
activeSheet.resumePaint();
activeSheet.repaint();

Module

Module: ColorScheme

Module主题颜色

代码示例

//本示例设置了Module主题
activeSheet.currentTheme("Module");
activeSheet.resumePaint();
activeSheet.repaint();

Office

Office: ColorScheme

Office主题颜色

代码示例

//本示例设置了Office主题
activeSheet.currentTheme("Office");
activeSheet.resumePaint();
activeSheet.repaint();

Office2007

Office2007: ColorScheme

Office2007主题颜色

代码示例

//本示例设置了Office2007主题
activeSheet.currentTheme("Office2007");
activeSheet.resumePaint();
activeSheet.repaint();

Opulent

Opulent: ColorScheme

Opulent主题颜色

代码示例

//本示例设置了Opulent主题
activeSheet.currentTheme("Opulent");
activeSheet.resumePaint();
activeSheet.repaint();

Oriel

Oriel: ColorScheme

Oriel主题颜色

代码示例

//本示例设置了Oriel主题
activeSheet.currentTheme("Oriel");
activeSheet.resumePaint();
activeSheet.repaint();

Origin

Origin: ColorScheme

Origin主题颜色

代码示例

//本示例设置了Origin主题
activeSheet.currentTheme("Origin");
activeSheet.resumePaint();
activeSheet.repaint();

Paper

Paper: ColorScheme

Paper主题颜色

代码示例

//本示例设置了Paper主题
activeSheet.currentTheme("Paper");
activeSheet.resumePaint();
activeSheet.repaint();

Solstice

Solstice: ColorScheme

Solstice主题颜色

代码示例

//本示例设置了Solstice主题
activeSheet.currentTheme("Solstice");
activeSheet.resumePaint();
activeSheet.repaint();

Technic

Technic: ColorScheme

Technic主题颜色

代码示例

//本示例设置了Technic主题
activeSheet.currentTheme("Technic");
activeSheet.resumePaint();
activeSheet.repaint();

Trek

Trek: ColorScheme

Trek主题颜色

代码示例

//本示例设置了Trek主题
activeSheet.currentTheme("Trek");
activeSheet.resumePaint();
activeSheet.repaint();

Urban

Urban: ColorScheme

Urban主题颜色

代码示例

//本示例设置了Urban主题
activeSheet.currentTheme("Urban");
activeSheet.resumePaint();
activeSheet.repaint();

Verve

Verve: ColorScheme

Verve主题颜色

代码示例

//本示例设置了Verve主题
activeSheet.currentTheme("Verve");
activeSheet.resumePaint();
activeSheet.repaint();