Show / Hide Table of Contents

Method SelectVertex

SelectVertex(Int64, Int64)

Selects the vertex with the specified indices.

Declaration
public void SelectVertex(long partIndex, long vertexIndex)
Parameters
Type Name Description
System.Int64 partIndex

The index of the part that contains the vertex (point) to be selected, within the geometry editor's Multipart geometry. Use a value of 0 for System.Drawing.Point and Multipoint (non-multipart geometries).

System.Int64 vertexIndex

The index of the vertex (point) to be selected, within the given part of the geometry editor's Multipart geometry, or within the Multipoint geometry. Use a value of 0 for System.Drawing.Point geometries.

Remarks

When a vertex is selected it can be edited while all other vertices of the geometry are unchanged. For example, you can move only the selected vertex interactively by dragging, or call MoveSelectedElement(MapPoint) or MoveSelectedElement(Double, Double) to move the selected vertex programmatically.

When a vertex is selected, a GeometryEditorVertex is returned from SelectedElement.

See Also
AllowVertexSelection
ClearSelection()
SelectMidVertex(Int64, Int64)
SelectGeometry()

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0200.3 - 200.7
.NET200.3 - 200.7
.NET Windows200.3 - 200.7
.NET Android200.3 - 200.7
.NET iOS200.3 - 200.7
.NET Framework200.3 - 200.7
UWP200.3 - 200.7
In This Article
Back to top Copyright © 2022 Esri.