Show / Hide Table of Contents

Method SelectGeometry

SelectGeometry()

Selects the entire Geometry.

Declaration
public void SelectGeometry()
Remarks

When the entire geometry is selected it can be edited interactively and programmatically. For example you can move the entire geometry interactively by dragging, or call MoveSelectedElement(MapPoint) or MoveSelectedElement(Double, Double) to move it programmatically.

When the entire geometry is selected, the GeometryEditorGeometry returned from SelectedElement has a geometry equal to Geometry. If the Geometry is a System.Drawing.Point, then a GeometryEditorVertex is returned from SelectedElement instead, which is equivalent to the entire geometry and provides immediate access to the x,y coordinates of the selected point geometry.

See Also
AllowGeometrySelection
ClearSelection()
SelectVertex(Int64, Int64)
SelectMidVertex(Int64, Int64)
SelectPart(Int64)

Applies to

Platforms and versions
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.