ArcGIS Pro 2.6 API Reference Guide
SetCurrentSketchAsync Method (MappingExtensions)

ArcGIS.Desktop.Mapping Namespace > MappingExtensions Class : SetCurrentSketchAsync Method
The map view containing the sketch.
The geometry of the sketch.
Sets the current geometry of the sketch without finishing it.
Syntax
public static Task SetCurrentSketchAsync( 
   MapView mapView,
   Geometry geometry
)
Public Shared Function SetCurrentSketchAsync( _
   ByVal mapView As MapView, _
   ByVal geometry As Geometry _
) As Task

Parameters

mapView
The map view containing the sketch.
geometry
The geometry of the sketch.

Return Value

A Task representing a set sketch operation.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

MappingExtensions Class
MappingExtensions Members