New to Telerik Document ProcessingStart a free 30-day trial

Specifies how text aligns horizontally within its container, including standard alignments and specialized justification modes for Arabic and Thai scripts.

Definition

Namespace:Telerik.Windows.Documents.Flow.Model.Styles

Assembly:Telerik.Windows.Documents.Flow.dll

Syntax:

C#
public enum Alignment

Fields

Centers text horizontally within the container.

C#
Center = 1

Justifies text by adjusting spacing between both words and individual characters to fill the line width.

C#
Distribute = 4

Justifies Arabic text by extending kashida characters to their maximum length for widest spacing.

C#
HighKashida = 5

Justifies text by adjusting spacing between words to fill the line width from left to right edges.

C#
Justified = 3

Aligns text to the left edge of the container.

C#
Left = 0

Justifies Arabic text by extending kashida characters to a lower length for minimal spacing adjustments.

C#
LowKashida = 7

Justifies Arabic text by extending kashida characters to a medium length for moderate spacing.

C#
MediumKashida = 6

Aligns text to the right edge of the container.

C#
Right = 2

Justifies Thai text using language-specific character distribution optimizations.

C#
ThaiDistribute = 8