Enum SnapState
The resulting snap state when snapping to or from a snap candidate.
Assembly: Esri.ArcGISRuntime.dll
Syntax
Fields
Name |
Description |
SnappedToFeature |
A snap has occurred to a ISnapSource.
This value will be returned in the following cases:
-
When moving from an unsnapped position to a position that's snapped to an existing snappable feature or graphic.
-
When there is a change in snap candidate. For example, moving from a snap point on a polyline segment to its end
vertex. This includes moving to a multiple candidate snap where one of the candidates was part of the
previous snap.
Note that if the snap contains multiple candidates, where some are from features/graphics and some are from
geometry guides, then SnappedToFeature will take priority over SnappedToGeometryGuide.
This value will not be returned in these cases:
-
When there is a change in snap point but not snap candidate. For example, moving from a snap point on a polyline
segment to another snap point on the same polyline segment.
-
When moving around a feature or graphic such that the snap point and snap candidate do not change.
|
SnappedToGeometryGuide |
A snap has occured to a geometry guide.
This value will be returned in the following cases:
-
When moving from an unsnapped position to a position that's snapped to an existing geometry guide.
-
When there is a change in snap candidate. For example, moving from a snap point on a geometry guide to a
different geometry guide, or to a multiple candidate snap that involves the same guide.
This value will not be returned in these cases:
-
When there is a change in snap point but not snap candidate. For example, moving from a snap point on a geometry
guide to another snap point on the same geometry guide.
-
When moving around a geometry guide such that the snap point and snap candidate do not change.
|
Unsnapped |
The previous snap candidate is no longer suitable and the current edit position is not snapped.
|
Applies to
Target | Versions |
.NET Standard 2.0 | 200.6 |
.NET | 200.6 |
.NET Windows | 200.6 |
.NET Android | 200.6 |
.NET iOS | 200.6 |
.NET Framework | 200.6 |
UWP | 200.6 |