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.

VegaRise.NET

Sign In

Welcome back. Please sign in to your account.

Forgot password?
or

Don't have an account? Create an account

By signing in, you agree to our Terms of Service and Privacy Policy.