[]
Defines text direction of the shape.
example
//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);
• eaVert = 4
Specifies that text display as East Asian Vertical Right to Left.
• eaVertLtr = 5
Specifies that text display as East Asian Vertical Left to Right.
• horz = 0
Specifies that text display as horizontal.
• vert = 1
Specifies that text display as Vertical 90 deg.
• vert270 = 2
Specifies that text display as Vertical 270 deg.
• wordArtVert = 3
Specifies that text display as Word Art Vertical Left to Right.
• wordArtVertRtl = 6
Specifies that text display as Word Art Vertical Right to Left.