VerticalTextAlignment.Val Property

Value.Represents the attribte in schema: val

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

Syntax

'Declaration
<SchemaAttrAttribute(, "val")> _
Public Property Val As EnumValue(Of VerticalAlignmentRunValues)
    Get
    Set
'Usage
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>.

Remarks

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

Reference

VerticalTextAlignment Class

VerticalTextAlignment Members

DocumentFormat.OpenXml.Spreadsheet Namespace