TX Text Control .NET for WPF

Justification Enumeration

Enumeration
Namespace
TXTextControl
Package
TXTextControl.TextControl.WPF.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXTextControl.dll
Install
dotnet add package TXTextControl.TextControl.WPF.SDK .NET 8 and later. For .NET Framework, reference TXTextControl.dll from the setup.

Description

Determines the justification. The enumeration contains the following values:

Syntax

public enum Justification

Members

MemberValueDescription
Spaces1To justify a line additional space is added to the spaces between the words.
Kashida2To justify a line Kashida lines are inserted.
SpacesAndKashida3To 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.

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