ColorSchemeMapping.Accent2 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
强调文字 2 主题颜色映射
表示架构中的以下属性:w:accent2
[DocumentFormat.OpenXml.SchemaAttr(23, "accent2")]
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.ColorSchemeIndexValues> Accent2 { get; set; }
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.ColorSchemeIndexValues> Accent2 { get; set; }
[DocumentFormat.OpenXml.SchemaAttr(23, "accent2")]
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.ColorSchemeIndexValues>? Accent2 { get; set; }
[DocumentFormat.OpenXml.SchemaAttr("w:accent2")]
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.ColorSchemeIndexValues>? Accent2 { get; set; }
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.ColorSchemeIndexValues>? Accent2 { get; set; }
member this.Accent2 : DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.ColorSchemeIndexValues> with get, set
[<DocumentFormat.OpenXml.SchemaAttr(23, "accent2")>]
member this.Accent2 : DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.ColorSchemeIndexValues> with get, set
[<DocumentFormat.OpenXml.SchemaAttr("w:accent2")>]
member this.Accent2 : DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.ColorSchemeIndexValues> with get, set
Public Property Accent2 As EnumValue(Of ColorSchemeIndexValues)
属性值
返回 EnumValue<T>。
- 属性
注解
使用此类时,ECMA 国际标准 ECMA-376 中的以下信息可能很有用。
指定文档主题部分的主题颜色,文档内容引用时,该主题颜色应用于代替此颜色。
如果省略此属性,则应 accent2
使用主题颜色。
请考虑 WordprocessingML 文档,该文档应引用的主题颜色 accent2
映射到文档的主题部分中定义的主题颜色 hlink
。 将在文档设置中使用以下 WordprocessingML 指定此要求:
<w:clrSchemeMapping w:accent2="hyperlink" />
属性 accent2
的值 hyperlink
为 ,指定主题颜色值的 accent2
用法应映射到主题颜色 hlink
。
此属性的可能值由 ST_ColorSchemeIndex
简单类型定义。