Defines the direction of text.

Namespace: Spire.Doc.Documents
Assembly: Spire.Doc (in Spire.Doc.dll) Version: 9.6.1.0 (9.6.1.3020)

Syntax

            
 C#  Visual Basic  Visual C++  F# 
public enum TextDirection
Public Enumeration TextDirection
public enum class TextDirection
type TextDirection

Members

MemberValueDescription
TopToBottom0
Specifies that text in the parent object shall flow from left to right horizontally, then top to bottom vertically on the page. This means that horizontal lines are filled before the text expands vertically.
RightToLeft3
Specifies that text in the parent object shall flow from right to left horizontally, then top to bottom vertically on the page. This means that horizontal lines are filled before the text expands vertically.
LeftToRightRotated5
Specifies that text in the parent object shall flow from top to bottom vertically, then left to right horizontally on the page. This means that horizontal lines are filled before the text expands vertically. This flow is also rotated such that all text is rotated 90 degrees when displayed on a page.
LeftToRight2
Specifies that text in the parent object shall flow from bottom to top vertically, then from left to right horizontally on the page.
TopToBottomRotated4
Specifies that text in the parent object shall flow from left to right horizontally, then top to bottom vertically on the page. This means that horizontal lines are filled before the text expands vertically. This flow is also rotated such that any East Asian text shall be rotated 270 degrees when displayed on a page.
RightToLeftRotated1
Specifies that text in the parent object shall flow from top to bottom vertically, then right to left horizontally on the page. This means that horizontal lines are filled before the text expands vertically. This flow is also rotated such that all text is rotated 90 degrees when displayed on a page.

See Also