[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.TextDirection

TextDirection Enum

Specifies the text direction for text in a shape's text frame.

Used with Direction to control how text is oriented within a shape, including horizontal, vertical, rotated, and stacked layouts.

Namespace: GrapeCity.Documents.Excel.Drawing
Assembly: DS.Documents.Excel.dll
Syntax
public enum TextDirection
Public Enum TextDirection
Examples
IShape shape = worksheet.Shapes.AddShape(AutoShapeType.Rectangle, 10, 10, 200, 200);
shape.TextFrame.TextRange.Paragraphs.Add("Hello");
shape.TextFrame.Direction = TextDirection.Vertical;

Fields

Name Description
Horizontal

Horizontal text direction.

Rotate270

Rotate text by 270 angle.

Rotate90

Rotate text by 90 angle.

Stacked

Stacked text and the text reading order is from left to right.

StackedRtl

Stacked text and the text reading order is from right to left.

Vertical

Vertical text direction.