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 |
|---|---|---|
| Double | x | The x-component of the anchor point. |
| 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 |
|---|---|
| ArgumentException | x or y value must be a number. |
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.5 - 100.15 |
| .NET 6.0 | 100.13 - 100.15 |
| .NET 6.0 Windows | 100.13 - 100.15 |
| .NET Framework | 100.5 - 100.15 |
| .NET 5 | 100.10 - 100.12 |
| .NET Core 3.1 | 100.7 - 100.12 |
| Xamarin.Android | 100.5 - 100.15 |
| Xamarin.iOS | 100.5 - 100.15 |
| UWP | 100.5 - 100.15 |