ArcObjects Library Reference (Controls)  

IEngineEditSketch.Vertex Property

The index of the current vertex of the sketch.

[Visual Basic .NET]
Public ReadOnly Property Vertex As Integer
[C#]
public int Vertex {get;}
[C++]
HRESULT get_Vertex(
  long* Vertex
);
[C++]

Parameters

Vertex [out, retval]   Vertex is a parameter of type long

Product Availability

Available with ArcGIS Engine.

Description

This property stores the index of the vertex of a sketch as specified by the IEngineEditSketch::SetEditLocation method. Once the index has been stored in this property, it remains there until the next time you call the IEngineEditSketch::SetEditLocation method.
Use this property when creating custom commands in a context menu that require a specific sketch vertex.
The IEngineEditSketch::SetEditLocation could be called during the IMapControlEvents2::OnMouseUp event to store the index of the vertex which the user had clicked on.
 
 

 

See Also

IEngineEditSketch Interface