This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IS > ISnappingResult Interface (ArcObjects .NET 10.4 SDK) |
ISnappingResult Interface
Description | ||
---|---|---|
Description | Gets the description of the snap that occurred. | |
Location | Gets the location that was snapped. | |
Type | Gets the type of snap that occurred. |
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.