TableCellProperties.Vertical Property

Text Direction.Represents the attribte in schema: vert

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

Syntax

'Declaration
<SchemaAttrAttribute(, "vert")> _
Public Property Vertical As EnumValue(Of TextVerticalValues)
    Get
    Set
'Usage
Dim instance As TableCellProperties
Dim value As EnumValue(Of TextVerticalValues)

value = instance.Vertical

instance.Vertical = value
[SchemaAttrAttribute(, "vert")]
public EnumValue<TextVerticalValues> Vertical { get; set; }

Property Value

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

Remarks

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

Defines the text direction within the cell.

Consider the following example:

<a:tcPr vert="vert270">
…
</a:tcPr>

In this example, we have rotated the layout of the text 270 degrees so that it starts at the bottom of the cell and goes upward toward the top of the cell.

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

See Also

Reference

TableCellProperties Class

TableCellProperties Members

DocumentFormat.OpenXml.Drawing Namespace