MindFusion WinForms Programmer's Guide
TextAlignment Enumeration
See Also
 





Specifies the alignment of text on the drawing surface.

Namespace: MindFusion.Drawing
Assembly: MindFusion.Scheduling

 Syntax

C#  Copy Code

public enum TextAlignment

Visual Basic  Copy Code

Public Enum TextAlignment

 Members

  Member name Description

AlignmentFlag

For internal use only.

 This value is available only in MindFusion.Scheduling.

BottomCenter

Text is vertically aligned at the bottom, and horizontally aligned at the center.

 This value is available only in MindFusion.Scheduling.

BottomLeft

Text is vertically aligned at the bottom, and horizontally aligned on the left.

 This value is available only in MindFusion.Scheduling.

BottomRight

Text is vertically aligned at the bottom, and horizontally aligned on the right.

 This value is available only in MindFusion.Scheduling.

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.

 This value is available only in MindFusion.Scheduling.

MiddleRight

Text is vertically aligned in the middle, and horizontally aligned on the right.

 This value is available only in MindFusion.Scheduling.

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.

 This value is available only in MindFusion.Scheduling.

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.

 This value is available only in MindFusion.Scheduling.

Unspecified

No alignment is specified.

 See Also

MindFusion.Drawing Namespace