Method SelectPart
SelectPart(Int64)
Selects the part with the specified index.
Declaration
public void SelectPart(long partIndex)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | partIndex | The index of the part in the geometry editor's Multipart geometry to be selected. Use a value of 0 for Multipoint geometries. |
Remarks
When a part of a polygon or polyline geometry is selected, a GeometryEditorPart is returned from
SelectedElement. If the polygon or polyline has only one ReadOnlyPart,
then a GeometryEditorGeometry with a shape equivalent to the entire geometry is returned from
SelectedElement instead, which provides immediate access to the extent
(
When a part of a Polygon or Polyline (Multipart) geometry is selected it can be edited separately from the other parts of the geometry. For example, you can move only the selected part interactively by dragging, or call MoveSelectedElement(MapPoint) or MoveSelectedElement(Double, Double) to move only the selected part programmatically.
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 |