TX Text Control .NET Server

Direction Enumeration

Enumeration|Introduced in 20.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.Core.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXTextControl.Core.dll
Install
dotnet add package TXTextControl.TextControl.Core.SDK .NET 8 and later. For .NET Framework, reference TXTextControl.dll from the setup.
Also in
TXTextControl.TextControl.ASP.SDK as TXTextControl.dll

Description

Determines the writing direction of a paragraph. The enumeration contains the following values:

Syntax

public enum Direction

Members

MemberValueDescription
LeftToRight1The writing direction is left to right, which means that blocks of text with left to right and right to left characters are ordered from left to right.
RightToLeft2The writing direction is right to left, which means that blocks of text with left to right and right to left characters are ordered from right to left.

Examples

The following example selects the Left To Right value from the Direction enumeration and uses it as a documented workflow choice.

Direction value = Direction.LeftToRight;
Console.WriteLine($"Using Direction: {value}");

See Also

Selection.ChangeDirection Method, ParagraphFormat.Direction Property.