Back to Devexpress

TableCell.TextDirection Property

officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-tablecell-7cb0af60.md

latest3.3 KB
Original Source

TableCell.TextDirection Property

Gets or sets the content direction in a table cell.

Namespace : DevExpress.XtraRichEdit.API.Native

Assembly : DevExpress.RichEdit.v25.2.Core.dll

NuGet Package : DevExpress.RichEdit.Core

Declaration

csharp
TextDirection TextDirection { get; set; }
vb
Property TextDirection As TextDirection

Property Value

TypeDescription
TextDirection

An enumeration value that specifies the direction of cell content.

|

Available values:

NameDescription
Horizontal

Content flows horizontally from left to right. The first line is at the top. (lr-tb)

| | Downward |

Content is rotated 90 degrees to the right and flows from top to bottom. The first line is on the right. (tb-rl)

| | VerticalRotatedFarEast |

Content flows from top to bottom, the first line is on the left. East Asian characters appear vertical, other content is rotated 90 degrees to the right. (tb-lr-v)

| | Upward |

Content is rotated 90 degrees to the left and flows from bottom to top. The first line is on the left. (bt-lr)

| | HorizontalRotatedFarEast |

East Asian characters are rotated 90 degrees to the left, other content is arranged horizontally (lr-tb-v).

| | VerticalFarEast |

Content flows from top to bottom, the first line is on the right. East Asian characters appear vertical. Other content is rotated 90 degrees to the right. (tb-rl-v)

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the TextDirection property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

winforms-richedit-tables-simple-example/CS/TablesSimpleExample/Form1.cs#L269

csharp
table.BeginUpdate();
table[2, 0].TextDirection = TextDirection.Upward;
table.EndUpdate();

winforms-richedit-tables-simple-example/VB/TablesSimpleExample/Form1.vb#L217

vb
table.BeginUpdate()
table(2, 0).TextDirection = TextDirection.Upward
table.EndUpdate()

See Also

TableCell Interface

TableCell Members

DevExpress.XtraRichEdit.API.Native Namespace