Specifies the alignment of text in its layout rectangle. This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its members.
Namespace: MindFusion.Scheduling
Assembly: MindFusion.Scheduling.WebForms
C#
![]() |
---|
public enum TextAlignment |
Visual Basic
![]() |
---|
Public Enum TextAlignment |
Member name | Value | Description | |
---|---|---|---|
![]() |
Unspecified |
0 | No alignment is specified. |
![]() |
TopLeft |
1 | Text is vertically aligned at the top, and horizontally aligned to the left. |
![]() |
TopCenter |
2 | Text is vertically aligned at the top, and horizontally aligned in the center. |
![]() |
TopRight |
4 | Text is vertically aligned at the top, and horizontally aligned to the right. |
![]() |
MiddleLeft |
16 | Text is vertically aligned in the middle, and horizontally aligned to the left. |
![]() |
MiddleCenter |
32 | Text is vertically aligned in the middle, and horizontally aligned in the center. |
![]() |
MiddleRight |
64 | Text is vertically aligned in the middle, and horizontally aligned to the right. |
![]() |
BottomLeft |
256 | Text is vertically aligned at the bottom, and horizontally aligned to the left. |
![]() |
BottomCenter |
512 | Text is vertically aligned at the bottom, and horizontally aligned in the center. |
![]() |
BottomRight |
1024 | Text is vertically aligned at the bottom, and horizontally aligned to the right. |