[]
        
(Showing Draft Content)

GC.Spread.Sheets.Shapes.TextDirection

Enumeration: TextDirection

Sheets.Shapes.TextDirection

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);

Table of contents

Enumeration members

Enumeration members

eaVert

eaVert = 4

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


eaVertLtr

eaVertLtr = 5

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


horz

horz = 0

Specifies that text display as horizontal.


vert

vert = 1

Specifies that text display as Vertical 90 deg.


vert270

vert270 = 2

Specifies that text display as Vertical 270 deg.


wordArtVert

wordArtVert = 3

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


wordArtVertRtl

wordArtVertRtl = 6

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