| 
TextDirection Enumeration
  | 
 Defines the direction of text.
 Namespace:
 Spire.Doc.Documents
 Assembly:
Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
 Syntax
Syntax
 
 
public enum TextDirection
 
Public Enumeration TextDirection
 
public enum class TextDirection
 
 
 
 
 Members
 Members
 
|  | Member name | Value | Description | 
|  | TopToBottom | 0 | 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. | 
|  | RightToLeftRotated | 1 | 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. | 
|  | LeftToRight | 2 | Specifies that text in the parent object shall flow from bottom to top vertically,
then from left to right horizontally on the page. | 
|  | RightToLeft | 3 | 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. | 
|  | TopToBottomRotated | 4 | 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. | 
|  | LeftToRightRotated | 5 | 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. | 
 
 
 See Also
See Also