windowsforms-devexpress-dot-xtramap-154da3f7.md
Specifies how the text associated with the map pointer should be aligned.
Namespace : DevExpress.XtraMap
Assembly : DevExpress.XtraMap.v25.2.dll
NuGet Package : DevExpress.Win.Map
public enum TextAlignment
Public Enum TextAlignment
| Name | Description |
|---|---|
TopLeft |
The text is vertically aligned at the top, and horizontally aligned on the left.
|
| TopCenter |
The text is vertically aligned at the top, and horizontally aligned at the center.
|
| TopRight |
The text is vertically aligned at the top, and horizontally aligned on the right.
|
| MiddleLeft |
The text is vertically aligned in the middle, and horizontally aligned on the left.
|
| MiddleRight |
The text is vertically aligned in the middle, and horizontally aligned on the right.
|
| BottomLeft |
The text is vertically aligned at the bottom, and horizontally aligned on the left.
|
| BottomCenter |
The text is vertically aligned at the bottom, and horizontally aligned at the center.
|
| BottomRight |
The text is vertically aligned at the bottom, and horizontally aligned on the right.
|
The following properties accept/return TextAlignment values:
The TextAlignment enumeration represents the different text alignment options for a map pointer containing text.
See Also