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


ISnappingResult.Location Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Controls)  

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 (Code Files: AngleAngleCstr)

.NET Related Topics

Working with the ArcGIS snapping environment