次の方法で共有


ColorSchemeMapping.Text2 プロパティ

定義

テキスト 2 テーマのカラー マッピング

スキーマ内の次の属性を表します: w:t2

[DocumentFormat.OpenXml.SchemaAttr(23, "t2")]
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.ColorSchemeIndexValues> Text2 { get; set; }
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.ColorSchemeIndexValues> Text2 { get; set; }
[DocumentFormat.OpenXml.SchemaAttr(23, "t2")]
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.ColorSchemeIndexValues>? Text2 { get; set; }
[DocumentFormat.OpenXml.SchemaAttr("w:t2")]
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.ColorSchemeIndexValues>? Text2 { get; set; }
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.ColorSchemeIndexValues>? Text2 { get; set; }
member this.Text2 : DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.ColorSchemeIndexValues> with get, set
[<DocumentFormat.OpenXml.SchemaAttr(23, "t2")>]
member this.Text2 : DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.ColorSchemeIndexValues> with get, set
[<DocumentFormat.OpenXml.SchemaAttr("w:t2")>]
member this.Text2 : DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.ColorSchemeIndexValues> with get, set
Public Property Text2 As EnumValue(Of ColorSchemeIndexValues)

プロパティ値

EnumValue<T> を返します。

属性

注釈

ECMA 国際 標準 ECMA-376 の次の情報は、このクラスを操作するときに役立ちます。

ドキュメントのテーマ パーツでテーマの色を指定します。これは、ドキュメント コンテンツによって参照されるときに、この色の代わりに使用されます。

この属性を省略すると、テーマの色が t2 使用されます。

WordprocessingML ドキュメントで、テーマの色 t2 への参照を、ドキュメントのテーマ パーツで定義されているテーマの色 dk1 にマップするとします。 この要件は、ドキュメント設定で次の WordprocessingML を使用して指定します。

<w:clrSchemeMapping w:t2="dark1" />  

属性には t2 、 の dark1値があり、テーマの色の値 t2 を使用してテーマの色 dk1にマップすることを指定します。

この属性に使用できる値は、単純型によって ST_ColorSchemeIndex 定義されます。

適用対象