VegaRise.NET
Back to DOM

TextAlignmentEnum

Definition

Namespace
DOM.Enums
Assembly
DOM.dll

Specifies the horizontal alignment of text within its container.

Remarks

A simplified, four-value variant of covering the most common alignment options for text content. JustificationValues

Examples

csharp
1// 1. Left-aligned text
2var a = TextAlignment.Left;
3
csharp
1// 2. Centered text
2var a = TextAlignment.Center;
3
csharp
1// 3. Right-aligned text
2var a = TextAlignment.Right;
3
csharp
1// 4. Justified text
2var a = TextAlignment.Justified;
3

Fields

Center

Horizontally centered text.

Justified

Justified text (even margins on both sides).

Left

Left-aligned text.

Right

Right-aligned text.

VegaRiseVDocs.NET

Create Account

Create your VDocs account.

or

Already have an account? Sign in