Share via


Style.Val Property

Definition

Value

Represents the following attribute in the schema: m:val

[DocumentFormat.OpenXml.SchemaAttr(21, "val")]
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Math.StyleValues> Val { get; set; }
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Math.StyleValues> Val { get; set; }
[DocumentFormat.OpenXml.SchemaAttr(21, "val")]
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Math.StyleValues>? Val { get; set; }
[DocumentFormat.OpenXml.SchemaAttr("m:val")]
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Math.StyleValues>? Val { get; set; }
public DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Math.StyleValues>? Val { get; set; }
member this.Val : DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Math.StyleValues> with get, set
[<DocumentFormat.OpenXml.SchemaAttr(21, "val")>]
member this.Val : DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Math.StyleValues> with get, set
[<DocumentFormat.OpenXml.SchemaAttr("m:val")>]
member this.Val : DocumentFormat.OpenXml.EnumValue<DocumentFormat.OpenXml.Math.StyleValues> with get, set
Public Property Val As EnumValue(Of StyleValues)

Property Value

Returns EnumValue<T>.

Attributes

Remarks

The following information from the ECMA International Standard ECMA-376 can be useful when working with this class.

Specifies the style of the parent element. Possible values are b (bold), i (italic), bi (bold-italic), and p (plain).

The possible values for this attribute are defined by the ST_Style simple type.

Applies to