Highlight.Val プロパティ
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
強調表示の色
スキーマ内の次の属性を表します: w:val
[DocumentFormat.OpenXml.SchemaAttr(23, "val")]
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.HighlightColorValues> Val { get; set; }
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.HighlightColorValues> Val { get; set; }
[DocumentFormat.OpenXml.SchemaAttr(23, "val")]
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.HighlightColorValues>? Val { get; set; }
[DocumentFormat.OpenXml.SchemaAttr("w:val")]
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.HighlightColorValues>? Val { get; set; }
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.HighlightColorValues>? Val { get; set; }
member this.Val : DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.HighlightColorValues> with get, set
[<DocumentFormat.OpenXml.SchemaAttr(23, "val")>]
member this.Val : DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.HighlightColorValues> with get, set
[<DocumentFormat.OpenXml.SchemaAttr("w:val")>]
member this.Val : DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Wordprocessing.HighlightColorValues> with get, set
Public Property Val As EnumValue(Of HighlightColorValues)
プロパティ値
EnumValue<T> を返します。
- 属性
注釈
ECMA 国際 標準 ECMA-376 の次の情報は、このクラスを操作するときに役立ちます。
この実行の内容に適用するテキスト強調表示の色を指定します。
色付きのテキストを強調表示して表示するテキスト実行を検討してください。 この強調表示は、次の WordprocessingML を使用して指定します。
<w:rPr>
<w:highlight w:val="red" />
</w:rPr>
結果のテキストの強調表示は になります red
。これは属性で val
指定された色であるためです。
この属性に使用できる値は、単純型によって ST_HighlightColor
定義されます。