Method PlaceElementAtReticle
PlaceElementAtReticle()
Inserts a new GeometryEditorVertex or drops the currently picked up element at the position of the reticle.
Declaration
public void PlaceElementAtReticle()
Remarks
When the PickedUpElement is not null, this will drop the picked up element at the reticle
position. When the PickedUpElement is null, this will insert a new vertex at the reticle
position.
When PickedUpElement is not null and adjacent segment(s) are curve segments
(IsCurve = true), this will move the vertex and reshape the curve segments. When
PickedUpElement is null and this method inserts a new vertex, the adjacent segments will
always be line segments (LineSegment).
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 |