Emphasis.Val Property

Emphasis Mark Type.Represents the attribte in schema: w:val

Namespace:  DocumentFormat.OpenXml.Wordprocessing
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)


<SchemaAttrAttribute(, "val")> _
Public Property Val As EnumValue(Of EmphasisMarkValues)
Dim instance As Emphasis
Dim value As EnumValue(Of EmphasisMarkValues)

value = instance.Val

instance.Val = value
[SchemaAttrAttribute(, "val")]
public EnumValue<EmphasisMarkValues> Val { get; set; }

Property Value

Type: DocumentFormat.OpenXml.EnumValue<EmphasisMarkValues>
Returns EnumValue<T>.


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

Specifies the emphasis mark type used for each character in this run.

Consider a run of text which shall have a dot underneath each character as an emphasis mark. This constraint is specified using the following WordprocessingML:

  <w:em w:val="dot"/>

This run explicitly declares that the em type is dot, so the contents of this run will have a dot emphasis mark beneath each character.

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

See Also


Emphasis Class

Emphasis Members

DocumentFormat.OpenXml.Wordprocessing Namespace