Emphasis.Val Property
Emphasis Mark Type.Represents the attribte in schema: w:val
Namespace: DocumentFormat.OpenXml.Wordprocessing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
<SchemaAttrAttribute(, "val")> _
Public Property Val As EnumValue(Of EmphasisMarkValues)
Get
Set
'Usage
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>.
Remarks
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:rPr>
<w:em w:val="dot"/>
</w:rPr>
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.