CharacterSpacingControl.Val Property

Value.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 CharacterSpacingValues)
    Get
    Set
'Usage
Dim instance As CharacterSpacingControl
Dim value As EnumValue(Of CharacterSpacingValues)

value = instance.Val

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

Property Value

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

Remarks

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

Specifies the sets of characters which should be compressed when the contents of this document are displayed.

Consider a WordprocessingML document for which only full-width punctuation characters shall have their white space compression applied. This requirement would be specified using the following WordprocessingML:

<w:characterSpacingControl w:val="compressPunctuation"/>

The val attribute value of compressPunctuation specifies that character compression shall be applied to full-width punctuation characters only when the document is displayed.

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

See Also

Reference

CharacterSpacingControl Class

CharacterSpacingControl Members

DocumentFormat.OpenXml.Wordprocessing Namespace