跳到主要内容

SchemeColorId

可用的配色方案标识符。

类型

枚举

  • "accent1"
  • "accent2"
  • "accent3"
  • "accent4"
  • "accent5"
  • "accent6"
  • "bg1"
  • "bg2"
  • "dk1"
  • "dk2"
  • "lt1"
  • "lt2"
  • "tx1"
  • "tx2"

示例

This example creates a scheme color with the 'accent2' identifier.

// How to create a scheme color.

// Create a scheme color with accent.

let schemeColor = Api.CreateSchemeColor("accent2");