# Direction Enumeration

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

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Enumeration
- **Introduced:** 20.0
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.WinForms.SDK` (assembly `TXTextControl.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.dll` from the setup
- **Path:** TX Text Control .NET for Windows Forms > Reference > TXTextControl > Direction Enumeration
- **454 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/direction/enumeration/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/direction/enumeration/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/direction/enumeration/llms-full.txt

---

### Description

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

### Syntax

```csharp
public enum Direction
```

```vbnet
Public Enum Direction
```

### Members

| Member | Value | Description |
|---|---|---|
| LeftToRight | 1 | The 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. |
| RightToLeft | 2 | The 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.

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

```vbnet
Dim value As Direction = Direction.LeftToRight
Console.WriteLine($"Using Direction: {value}")
```

### See Also

[Selection.ChangeDirection](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/selection/changedirection-method/llms-full.txt) Method, [ParagraphFormat.Direction](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/paragraphformat/direction-property/llms-full.txt) Property.

---

## Nearby

- **Previous:** [DigitalSignature Constructor](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/digitalsignature/constructor/llms-full.txt)
- **Next:** [DocumentLink Class](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/documentlink/llms-full.txt)
