# GC.Spread.Sheets.Shapes.TextDirection

## Content

# Enumeration: TextDirection

[Sheets](../modules/GC.Spread.Sheets).[Shapes](../modules/GC.Spread.Sheets.Shapes).TextDirection

Defines text direction of the shape.

**`example`**
```javascript
//This sample sets the textDirection for the shape.
var rectangleShape = sheet.shapes.add("Shape1", GC.Spread.Sheets.Shapes.AutoShapeType.rectangle, 100, 60, 200, 160);
var oldStyle = rectangleShape.style();
oldStyle.textFrame.textDirection = GC.Spread.Sheets.Shapes.TextDirection.wordArtVertRtl;
rectangleShape.style(oldStyle);
```

## Table of contents

### Enumeration members

- [eaVert](GC.Spread.Sheets.Shapes.TextDirection#eavert)
- [eaVertLtr](GC.Spread.Sheets.Shapes.TextDirection#eavertltr)
- [horz](GC.Spread.Sheets.Shapes.TextDirection#horz)
- [vert](GC.Spread.Sheets.Shapes.TextDirection#vert)
- [vert270](GC.Spread.Sheets.Shapes.TextDirection#vert270)
- [wordArtVert](GC.Spread.Sheets.Shapes.TextDirection#wordartvert)
- [wordArtVertRtl](GC.Spread.Sheets.Shapes.TextDirection#wordartvertrtl)

## Enumeration members

### <a id="eavert" name="eavert"></a> eaVert

• **eaVert** = `4`

Specifies that text display as East Asian Vertical Right to Left.

___

### <a id="eavertltr" name="eavertltr"></a> eaVertLtr

• **eaVertLtr** = `5`

Specifies that text display as East Asian Vertical Left to Right.

___

### <a id="horz" name="horz"></a> horz

• **horz** = `0`

Specifies that text display as horizontal.

___

### <a id="vert" name="vert"></a> vert

• **vert** = `1`

Specifies that text display as Vertical 90 deg.

___

### <a id="vert270" name="vert270"></a> vert270

• **vert270** = `2`

Specifies that text display as Vertical 270 deg.

___

### <a id="wordartvert" name="wordartvert"></a> wordArtVert

• **wordArtVert** = `3`

Specifies that text display as Word Art Vertical Left to Right.

___

### <a id="wordartvertrtl" name="wordartvertrtl"></a> wordArtVertRtl

• **wordArtVertRtl** = `6`

Specifies that text display as Word Art Vertical Right to Left.
