ArcGIS Pro 2.8 API Reference Guide
GetCurrentSketchAsync Method (MappingExtensions)

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

Parameters

mapView
The map view containing the sketch.

Return Value

A Task representing the geometry of the sketch.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

MappingExtensions Class
MappingExtensions Members