TextEffect.Val Property

Animated Text Effect 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 TextEffectValues)
Dim instance As TextEffect
Dim value As EnumValue(Of TextEffectValues)

value = instance.Val

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

Property Value

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


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

Specifies the type of animated text effect which shall be applied to this text run.

Consider a run of text which shall have an animated text effect consisting of multiple colored flashing lights. This constraint is specified using the following WordprocessingML:

  <w:effect w:val="lights"/>

This run explicitly declares a type of text effect, using the val attribute, of lights, so the contents of this run will have the animated lights text effect.

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

See Also


TextEffect Class

TextEffect Members

DocumentFormat.OpenXml.Wordprocessing Namespace