windowsforms-devexpress-dot-xtramap-dot-mappointer-0f7b0a5c.md
Gets or sets the alignment of the text in a map pointer.
Namespace : DevExpress.XtraMap
Assembly : DevExpress.XtraMap.v25.2.dll
NuGet Package : DevExpress.Win.Map
[DefaultValue(TextAlignment.MiddleRight)]
public TextAlignment TextAlignment { get; set; }
<DefaultValue(TextAlignment.MiddleRight)>
Public Property TextAlignment As TextAlignment
| Type | Default | Description |
|---|---|---|
| TextAlignment | MiddleRight |
One of the TextAlignment enumeration values that specifies how the text is aligned in the map pointer.
|
Available values:
| 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.
|
See Also