Class TextSymbol
Defines how text is displayed using characteristics such as font, size, color, and position.
Implements
Namespace: Esri.ArcGISRuntime.Symbology
Assembly: Esri.ArcGISRuntime.dll
Syntax
public class TextSymbol : MarkerSymbol, INotifyPropertyChanged
Remarks
To display text in a Map
Text
- Layers such as Feature
Layer , ArcGISScene , or DynamicLayer Entity contain label definitions that specify how labels are displayed. You can use TextLayer Symbol to define a label appearance within a scale range. To display these labels, add a collection of these label definitions to a layer. - Map
View can display a coordinate system grid with specific label styles at different resolutions. You can define the appearance of these labels using SetText .Symbol(Int64, Symbol)
Constructors
Name | Description |
---|---|
Text |
Initializes a new instance of the Text |
Text |
Initializes a new instance of the Text |
Properties
Name | Description |
---|---|
Background |
Gets or sets the color for the text symbol background. |
Color | Gets or sets the color for the text symbol. |
Font |
Gets or sets the type of font decoration for the text symbol. |
Font |
Gets or sets the font family of the text symbol. |
Font |
Gets or sets the font style of the text symbol. |
Font |
Gets or sets the font weight of the text symbol. |
Halo |
Gets or sets the halo color for the text symbol. |
Halo |
Gets or sets the size of the halo around the text symbol in device-independent pixels (DIPs). |
Horizontal |
Gets or sets the horizontal alignment of the text symbol relative to the symbol's mid-point. |
Kerning |
Gets or sets a value indicating whether to adjust the spacing between individual characters in the text. |
Outline |
Gets or sets the outline color for the text symbol. |
Outline |
Gets or sets the width of the text symbol outline in device-independent pixels (DIPs). |
Size | Gets or sets the font size of the text symbol. |
Text | Gets or sets the text of the text symbol. |
Vertical |
Gets or sets the vertical alignment of the text symbol relative to the symbol's mid-point location. |
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.0 - 200.6 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.6 |