Constructor SymbolAnchor
SymbolAnchor(Double, Double, SymbolAnchorPlacementMode)
Initializes a new instance of the SymbolAnchor class and sets up the properties.
Declaration
public SymbolAnchor(double x, double y, SymbolAnchorPlacementMode placementMode)
Parameters
Type | Name | Description |
---|---|---|
System.Double | x | The x-component of the anchor point. |
System.Double | y | The y-component of the anchor point. |
SymbolAnchorPlacementMode | placementMode | The anchor placement mode to use for the anchor values. |
Remarks
The function sets up the SymbolAnchor with the provided arguments. InvalidArgument exception is raised when either the x or y value is NAN.
Exceptions
Type | Condition |
---|---|
System.ArgumentException | x or y value must be a number. |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.5 - 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.5 - 200.5 |
Xamarin.Android | 100.5 - 100.15 |
Xamarin.iOS | 100.5 - 100.15 |
UWP | 100.5 - 200.5 |