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


IEngineEditSketch.SetEditLocation Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Controls)  

IEngineEditSketch.SetEditLocation Method

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

Product Availability

Available with ArcGIS Engine.

Description

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.

See Also

IEngineEditSketch Interface