# Justification Enumeration

> Determines the justification. The enumeration contains the following values:

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Enumeration
- **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 > Justification Enumeration
- **404 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/justification/enumeration/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/justification/enumeration/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/justification/enumeration/llms-full.txt

---

### Description

Determines the justification. The enumeration contains the following values:

### Syntax

```csharp
public enum Justification
```

```vbnet
Public Enum Justification
```

### Members

| Member | Value | Description |
|---|---|---|
| Spaces | 1 | To justify a line additional space is added to the spaces between the words. |
| Kashida | 2 | To justify a line Kashida lines are inserted. |
| SpacesAndKashida | 3 | To justify a line both kinds of justification are used. |

### Examples

The following example selects the Spaces value from the Justification enumeration and uses it as a documented workflow choice.

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

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

---

## Nearby

- **Previous:** [Instruction.IsInitialInstruction Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/instruction/isinitialinstruction-property/llms-full.txt)
- **Next:** [LicenseLevelException Class](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/licenselevelexception/llms-full.txt)
