Enum
Alignment

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:

cs-api-definition
public enum Alignment

Fields

Center

Centers text horizontally within the container.

Declaration

cs-api-definition
Center = 1

Field Value

Alignment

Distribute

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

Declaration

cs-api-definition
Distribute = 4

Field Value

Alignment

HighKashida

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

Declaration

cs-api-definition
HighKashida = 5

Field Value

Alignment

Justified

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

Declaration

cs-api-definition
Justified = 3

Field Value

Alignment

Left

Aligns text to the left edge of the container.

Declaration

cs-api-definition
Left = 0

Field Value

Alignment

LowKashida

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

Declaration

cs-api-definition
LowKashida = 7

Field Value

Alignment

MediumKashida

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

Declaration

cs-api-definition
MediumKashida = 6

Field Value

Alignment

Right

Aligns text to the right edge of the container.

Declaration

cs-api-definition
Right = 2

Field Value

Alignment

ThaiDistribute

Justifies Thai text using language-specific character distribution optimizations.

Declaration

cs-api-definition
ThaiDistribute = 8

Field Value

Alignment