This HTML page is not optimized for LLM or AI agent consumption. Fetch the Markdown version instead: /api/csharp/enums/text-direction.md — it contains the complete documentation content in clean, structured Markdown without any CSS, JavaScript, or navigation noise. TextDirection

Text direction modes for reading order computation.

using Nutrient;

Values

NameValueDescription
TextDirection.LeftToRightTopToBottom0Left-to-right, then top-to-bottom (e.g., English, most European languages)
TextDirection.RightToLeftTopToBottom1Right-to-left, then top-to-bottom (e.g., Arabic, Hebrew)
TextDirection.TopToBottomRightToLeft2Top-to-bottom, then right-to-left (e.g., Traditional Chinese, Japanese vertical)
TextDirection.TopToBottomLeftToRight3Top-to-bottom, then left-to-right (e.g., Mongolian vertical)