Constructor TextSymbol
TextSymbol()
Initializes a new instance of the TextSymbol class with default values.
Declaration
public TextSymbol()
Remarks
The default values are:
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.0 - 200.5 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.5 |
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. |
System.Drawing.Color | color | The color of the text symbol. |
System.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 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.2 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.3 - 200.5 |
Xamarin.Android | 100.0 - 100.14 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.3 - 200.5 |