Method InsertVertex
InsertVertex(MapPoint)
Creates a new vertex at the specified location and inserts it after the currently selected element, or appends the point if there is nothing selected.
Declaration
public void InsertVertex(MapPoint point)
Parameters
Type | Name | Description |
---|---|---|
MapPoint | point | The location of the new vertex. |
Remarks
If Geometry is empty (true
), the given point is added as the
initial vertex, and then selected. If nothing is selected (SelectedElement is null
), the
point is appended to the end of the Geometry, and then selected. If SelectedElement
is the first vertex in a part of a Multipart, the given point is inserted before the currently selected
vertex, and then selected.
If Geometry is a non-empty System.Drawing.Point, this method replaces the existing point with the given point and selects it.
See Also
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 200.3 - 200.5 |
.NET | 200.3 - 200.5 |
.NET Windows | 200.3 - 200.5 |
.NET Android | 200.3 - 200.5 |
.NET iOS | 200.3 - 200.5 |
.NET Framework | 200.3 - 200.5 |
UWP | 200.3 - 200.5 |