Class TextSymbol
Text symbol used to draw text as a marker symbol.
Implements
Namespace: Esri.ArcGISRuntime.Symbology
Assembly: Esri.ArcGISRuntime.dll
Syntax
public class TextSymbol : MarkerSymbol, INotifyPropertyChanged
Remarks
Text symbols are used to display text for graphics. The graphics can be based on any type of geometry - MapPoint, Multipoint, Polyline, or Polygon.
Constructors
Name | Description |
---|---|
TextSymbol() | Initializes a new instance of the TextSymbol class. |
TextSymbol(String, Color, Double, HorizontalAlignment, VerticalAlignment) | Initializes a new instance of the TextSymbol class. |
Properties
Name | Description |
---|---|
BackgroundColor | Gets or sets the color for the text symbol background. |
Color | Gets or sets the color for the text symbol. |
FontDecoration | Gets or sets the type of font decoration for the text symbol. |
FontFamily | Gets or sets the font family of the text symbol. |
FontStyle | Gets or sets the font style of the text symbol. |
FontWeight | Gets or sets the font weight of the text symbol. |
HaloColor | Gets or sets the halo color for the text symbol. |
HaloWidth | Gets or sets the halo width on the text symbol. |
HorizontalAlignment | Gets or sets the horizontal alignment of the text symbol. |
KerningEnabled | Gets or sets a value indicating whether to adjust the spacing between individual characters in the text. |
OutlineColor | Gets or sets the outline color for the text symbol. |
OutlineWidth | Gets or sets the outline width on the text symbol, in DIPs. |
Size | Gets or sets the font size of the text symbol. |
Text | Gets or sets the text of the text symbol. |
VerticalAlignment | Gets or sets the vertical alignment of the text symbol. |
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.0 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 100.15 |