This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IS > ISegmentGraphCursor Interface > ISegmentGraphCursor.MoveTo Method (ArcObjects .NET 10.4 SDK) |
Moves from the current edge to an adjacent edge closest to newLocation. Returns true when that move is clear, or false if it crosses a multi-way branch (in that case, then use FinishMoveTo).
[Visual Basic .NET] Public Function MoveTo ( _ ByVal newLocation As IPoint _ ) As Boolean
[C#] public bool MoveTo ( IPoint newLocation );
[C++]
HRESULT MoveTo(
IPoint* newLocation,
VARIANT_BOOL* canMove
);
[C++]
Parameters newLocation
newLocation is a parameter of type IPoint canMove [out, retval] canMove is a parameter of type VARIANT_BOOL