Method SelectElementAtReticle
SelectElementAtReticle()
Selects an element at the current position of the reticle.
Declaration
public bool SelectElementAtReticle()
Returns
| Type | Description |
|---|---|
| bool |
|
Remarks
If called when the reticle is not over a vertex or mid-vertex this will return false even if a
SelectedElement already exists. Selection will not be cleared.
If called when a PickedUpElement exists this will return false and the selection will not
be changed.
If called when the reticle is over a geometry segment or fill, this will return false and not select
anything and existing selections will not be cleared.
Exceptions
| Type | Condition |
|---|---|
| InvalidOperationException | The ProgrammaticReticleTool must be attached to a GeometryEditor, the GeometryEditor must be started, the GeometryEditor must be attached to a MapView, and the ProgrammaticReticleTool must not be attached to more than one GeometryEditor where two or more of the geometry editors are attached to map views. |
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 200.8 |
| .NET | 200.8 - 300.0 |
| .NET Windows | 200.8 - 300.0 |
| .NET Android | 200.8 - 300.0 |
| .NET iOS | 200.8 - 300.0 |
| .NET Framework | 200.8 |
| UWP | 200.8 |