ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / MappingExtensions Class / GetCurrentSketchAsync Method
The map view containing the sketch.
Version

GetCurrentSketchAsync Method (MappingExtensions)
Gets the current geometry of the sketch without finishing it.
Syntax
public static Task<Geometry> GetCurrentSketchAsync( 
   MapView mapView
)

Parameters

mapView
The map view containing the sketch.

Return Value

A Task representing the geometry of the sketch.
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also