Show / Hide Table of Contents

Method SelectMidVertex

SelectMidVertex(Int64, Int64)

Selects the mid-vertex with the specified indices.

Declaration
public void SelectMidVertex(long partIndex, long segmentIndex)
Parameters
Type Name Description
System.Int64 partIndex

The index of the part in the geometry editor's Multipart geometry that contains the mid-vertex to be selected. Use a value of 0 for non-multipart geometry types - System.Drawing.Point and Multipoint.

System.Int64 segmentIndex

The index of segment that the mid-vertex to be selected lies on, 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

Mid-vertices do not exist in the Geometry. They exist only in the display to serve as a visual cue that new vertices can be inserted between existing vertices. Since they do not exist in the geometry, mid-vertices cannot be programmatically moved or deleted. They can be used to insert a new vertex interactively.

When a mid-vertex is selected, a GeometryEditorMidVertex is returned from SelectedElement.

See Also
AllowMidVertexSelection
ClearSelection()
SelectVertex(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.