SchemeColorId
可用的配色方案标识符。
类型
枚举
值
- "accent1"
- "accent2"
- "accent3"
- "accent4"
- "accent5"
- "accent6"
- "bg1"
- "bg2"
- "dk1"
- "dk2"
- "folHlink"
- "hlink"
- "lt1"
- "lt2"
- "tx1"
- "tx2"
示例
创建具有 'accent2' 标识符的主题颜色。
// How do I create a scheme color?
// Create a scheme color with accent.
let schemeColor = Api.CreateSchemeColor("accent2");