ISnappingResult Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IS > ISnappingResult Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Controls)  

ISnappingResult Interface

ISnappingResult Interface

Product Availability

Available with ArcGIS Engine.

Members

Name Description
Read-only property Description Gets the description of the snap that occurred.
Read-only property Location Gets the location that was snapped.
Read-only property Type Gets the type of snap that occurred.

CoClasses that implement ISnappingResult

CoClasses and Classes Description

Remarks

This interface provides access to information regarding the last call to Snapping, including the location of the point location that satisfied the snap request, and information about the layer and snapping type associated with that location.


A reference to a snapping result is returned from IPointSnapper.Snap().  If not valid snap candidates were found during execution of the Snap method, a null ISnapResult is returned.  As a developer you should anticipate this and utilize a null pointer check before querying information returned.

.NET Samples

Angle Angle shape constructor (Code Files: AngleAngleCstr)

.NET Related Topics

Working with the ArcGIS snapping environment