This document is archived and information here might be outdated.  Recommended version.


ISnappingResult Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IS > ISnappingResult Interface
ArcGIS Developer Help

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.

Classes that implement ISnappingResult

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