Show / Hide Table of Contents

Class GeometryEditorMidVertex

A mid-vertex element in a GeometryEditor.

Inheritance
System.Object
GeometryEditorElement
GeometryEditorMidVertex
GeometryEditorElement.CanDelete
GeometryEditorElement.CanMove
GeometryEditorElement.Extent
GeometryEditorElement.CanRotate
GeometryEditorElement.CanScale
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Esri.ArcGISRuntime.UI.Editing
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class GeometryEditorMidVertex : GeometryEditorElement
Remarks

Mid-vertices do not exist in the Geometry, but instead exist only in the display. They are displayed between vertices in polygon and polyline geometries and are used in interactive workflows as a visual cue to indicate new vertices can be inserted between existing vertices. They may be most helpful for users with less editing experience. Tap on a mid-vertex to select it, and drag to change the mid-vertex into a vertex (GeometryEditorVertex) in the Geometry and move it to the required location.

When a mid-vertex is selected (displayed with a selection halo), a GeometryEditorMidVertex is returned from SelectedElement. Select a mid-vertex programmatically using SelectMidVertex(Int64, Int64).

Use MidVertexSymbol and SelectedMidVertexSymbol to change the appearance of the mid-vertex when unselected and selected, or set to null to prevent mid-vertices from being displayed entirely. If mid-vertices are not displayed, you can still insert vertices between existing vertices by selecting an existing GeometryEditorVertex and tapping on the map at the location to insert the new vertex.

To prevent mid-vertices from being selected interactively while still allowing programmatic selection, set AllowMidVertexSelection to false. If AllowVertexCreation is false then new vertices cannot be inserted into the geometry, including by the use of mid-vertices.

Properties

Name Description
PartIndex

Gets the index position of the part within the part collection of a multipart geometry that contains this GeometryEditorMidVertex.

Point

Gets the location of the point represented by this GeometryEditorMidVertex in the SpatialReference of the associated MapView.

SegmentIndex

Gets the index position of the segment on which the selected mid-vertex lies.

See Also

GeometryEditorVertex
GeometryEditor
InteractionConfiguration

Applies to

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.