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
Applies to
Platforms and versions
| Target | Versions | 
|---|---|
| .NET Standard 2.0 | 200.3 - 200.8 | 
| .NET | 200.3 - 200.8 | 
| .NET Windows | 200.3 - 200.8 | 
| .NET Android | 200.3 - 200.8 | 
| .NET iOS | 200.3 - 200.8 | 
| .NET Framework | 200.3 - 200.8 | 
| UWP | 200.3 - 200.8 |