Constructor TextSymbol
TextSymbol()
Initializes a new instance of the TextSymbol class.
Declaration
public TextSymbol()
Applies to
Platforms and versions
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 |
Relevant samples
Add graphics with symbols: Use a symbol style to display a graphic on a graphics overlay.
Display grid: Display coordinate system grids including Latitude/Longitude, MGRS, UTM and USNG on a map view. Also, toggle label visibility and change the color of grid lines and grid labels.
Offline routing: Solve a route on-the-fly using offline data.
Route around barriers: Find a route that reaches all stops without crossing any barriers.
TextSymbol(String, Color, Double, HorizontalAlignment, VerticalAlignment)
Initializes a new instance of the TextSymbol class.
Declaration
public TextSymbol(string text, Color color, double size, HorizontalAlignment hAlign, VerticalAlignment vAlign)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | The text to be displayed for the associated graphic. |
Color | color | The color of the text symbol. |
Double | size | The size of the text symbol. |
HorizontalAlignment | hAlign | The horizontal alignment of the text. |
VerticalAlignment | vAlign | The vertical alignment of the text. |
Applies to
Platforms and versions
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.3 - 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.3 - 100.14 |