Search
TextAlignment Enumeration
See Also
 





Specifies the alignment of text on the drawing surface.

Namespace: MindFusion.Drawing
Assembly: MindFusion.Common

 Syntax

C#  Copy Code

public enum TextAlignment

Visual Basic  Copy Code

Public Enum TextAlignment

 Members

  Member name Description

Unspecified

No alignment is specified.

TopLeft

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

TopCenter

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

TopRight

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

MiddleLeft

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

MiddleCenter

Text is vertically aligned in the middle, and horizontally aligned at the center.

MiddleRight

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

BottomLeft

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

BottomCenter

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

BottomRight

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

AlignmentFlag

For internal use only.

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.

 See Also