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