Specifies the alignment of text on the drawing surface.
Namespace: MindFusion.Drawing
Assembly: MindFusion.Scheduling
C# Copy Code |
---|
public enum TextAlignment |
Visual Basic Copy Code |
---|
Public Enum TextAlignment |
Member name | Description | |
---|---|---|
AlignmentFlag |
For internal use only. |
|
BottomCenter |
Text is vertically aligned at the bottom, and horizontally aligned at the center. |
|
BottomLeft |
Text is vertically aligned at the bottom, and horizontally aligned on the left. |
|
BottomRight |
Text is vertically aligned at the bottom, and horizontally aligned on the right. |
|
MiddleCenter |
Text is vertically aligned in the middle, and horizontally aligned at the center. |
|
MiddleLeft |
Text is vertically aligned in the middle, and horizontally aligned on the left. |
|
MiddleRight |
Text is vertically aligned in the middle, and horizontally aligned on the right. |
|
NoWrap |
The only flag that can be combines with any of the alignment flags. Specifies that the drawn text should not wrap when the text does not fit in a single line. |
|
TopCenter |
Text is vertically aligned at the top, and horizontally aligned at the center. |
|
TopLeft |
Text is vertically aligned at the top, and horizontally aligned on the left. |
|
TopRight |
Text is vertically aligned at the top, and horizontally aligned on the right. |
|
Unspecified |
No alignment is specified. |