Show / Hide Table of Contents

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
TargetVersions
.NET Standard 2.0100.5 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.5 - 200.7
Xamarin.Android100.5 - 100.15
Xamarin.iOS100.5 - 100.15
UWP100.5 - 200.7
In This Article
Back to top Copyright © 2022 Esri.