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