[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.ITextFrame.Direction

Direction Property

Direction

Gets or sets the text direction.

Use this property to determine how text is oriented within the shape's text frame, such as horizontal, vertical, rotated, or stacked text.

Declaration
TextDirection Direction { get; set; }
Property Direction As TextDirection
Examples
IShape shape = worksheet.Shapes.AddShape(AutoShapeType.Rectangle, 10, 10, 120, 60);
ITextFrame textFrame = shape.TextFrame;
textFrame.Direction = TextDirection.Vertical;
TextDirection direction = textFrame.Direction;