ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Layouts Namespace / LayoutTool Class / GetCurrentSketchAsync Method

GetCurrentSketchAsync Method (LayoutTool)
Gets the current geometry of the sketch without finishing it.
Syntax
protected Task<Geometry> GetCurrentSketchAsync()

Return Value

A Task representing the geometry of the sketch.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

ArcGIS Pro version: 2.9 or higher.
See Also