This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Editor > ESRI.ArcGIS.Editor > Interfaces > IE > IEditSketch3 Interface > IEditSketch3.UnselectVertex Method (ArcObjects .NET 10.4 SDK) |
Unselects a vertex.
[Visual Basic .NET] Public Sub UnselectVertex ( _ ByVal Part As Integer, _ ByVal Vertex As Integer _ )
[C#] public void UnselectVertex ( int Part, int Vertex );
IEditSketch3 editSketch3=m_editor as IEditSketch3;
feature=m_fCArr[0].GetFeature(25);
//call the select vertex method to select a vertex
editSketch3.SelectVertex(0, 2);
editSketch3.SelectVertex(0, 6);
//Make sure you actually selected a vertex.
int checkVertSelection=editSketch3.SelectedVertexCount;
if (checkVertSelection > 2)
{
editSketch3.UnselectVertex(0, 2);
editSketch3.UnselectVertex(0, 6);
{