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


ISnappingResult.Location Property (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 > ISnappingResult.Location Property
ArcGIS Developer Help

ISnappingResult.Location Property

Gets the location that was snapped.

[Visual Basic .NET]
Public ReadOnly Property Location As IPoint
[C#]
public IPoint Location {get;}
[C++]
HRESULT get_Location(
  IPoint** point
);
[C++]
Parameters
point [out, retval]

point is a parameter of type IPoint**

Product Availability

Available with ArcGIS Engine.

Remarks

The location is the point that was satisfied during the Snap operation given the input point (usually the cursor location) and the snapping environment settings.  In most cases, a tool that utilizes snapping would update the application�s current location so a user who clicks at that location would utilize the snapped point for the tool.  The location always returns a valid reference to an IPoint object.

See Also

ISnappingResult Interface

.NET Samples

Angle Angle shape constructor