This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IE > IEngineEditSketch Interface > IEngineEditSketch.SetEditLocation Method (ArcObjects .NET 10.5 SDK) |
Sets the part, segment and vertex of the edit sketch at the x,y location.
[Visual Basic .NET] Public Sub SetEditLocation ( _ ByVal X As Integer, _ ByVal Y As Integer _ )
[C#] public void SetEditLocation ( int X, int Y );
[C++]
HRESULT SetEditLocation(
long X,
long Y
);
[C++]
Parameters X [in] X is a parameter of type long Y [in] Y is a parameter of type long
Call the SetEditLocation method to store the EditLocation, Vertex, Segment and/or Part of an edit sketch.
It is essential that this method is called prior to executing any of the following commands; ControlsEditingVertexInsertCommand, ControlsEditingVertexDeleteCommand, ControlsEditingVertexMoveCommand and ControlsEditingVertexMoveToCommand or popping up the ControlsEditingVertexContextMenu.