Class ThemeColor

ThemeColor

主题颜色的表示法。

方法

方法返回类型简介
getColorType()ColorType获取此颜色的类型。
getThemeColorType()ThemeColorType获取此颜色的主题颜色类型。

详细文档

getColorType()

获取此颜色的类型。

弃踢回攻

ColorType - 颜色类型。

授权

使用此方法的脚本需要获得以下一个或多个范围的授权:

  • https://www.googleapis.com/auth/spreadsheets.currentonly
  • https://www.googleapis.com/auth/spreadsheets

getThemeColorType()

获取此颜色的主题颜色类型。

弃踢回攻

ThemeColorType - 主题颜色类型。

授权

使用此方法的脚本需要获得以下一个或多个范围的授权:

  • https://www.googleapis.com/auth/spreadsheets.currentonly
  • https://www.googleapis.com/auth/spreadsheets