VerticalTextAlignment.Val Property

Value.Represents the attribte in schema: val

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


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

value = instance.Val

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

Property Value

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


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

An enumeration representing the vertical-alignment setting.

Setting this to either subscript or superscript shall make the font size smaller if a smaller font size is available.

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

See Also


VerticalTextAlignment Class

VerticalTextAlignment Members

DocumentFormat.OpenXml.Spreadsheet Namespace