This document is archived and information here might be outdated. Recommended version. |
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**
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.