Class TextAlignment
Specifies the text alignment for the text.
Inheritance
System.Object
TextAlignment
Namespace: IronWord.Models.Enums
Assembly: IronWord.dll
Syntax
public sealed class TextAlignment : Enum
Fields
Center
The text is centered horizontally within its container.
Declaration
public const TextAlignment Center
Field Value
| Type | Description |
|---|---|
| TextAlignment |
Justified
The text is justified, meaning the spaces between words are adjusted to create clean, even margins on both the left and right sides of the text.
Declaration
public const TextAlignment Justified
Field Value
| Type | Description |
|---|---|
| TextAlignment |
Left
The text is aligned to the left margin.
Declaration
public const TextAlignment Left
Field Value
| Type | Description |
|---|---|
| TextAlignment |
Right
The text is aligned to the right margin.
Declaration
public const TextAlignment Right
Field Value
| Type | Description |
|---|---|
| TextAlignment |
value__
Declaration
public int value__
Field Value
| Type | Description |
|---|---|
| System.Int32 |