ArcGIS Pro 2.7 API Reference Guide
GetCurrentSketchAsync Method (MapTool)

ArcGIS.Desktop.Mapping Namespace > MapTool Class : GetCurrentSketchAsync Method
Gets the current geometry of the sketch without finishing it.
Syntax
protected Task<Geometry> GetCurrentSketchAsync()
Protected Function GetCurrentSketchAsync() As Task(Of Geometry)

Return Value

A Task representing the geometry of the sketch.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

MapTool Class
MapTool Members