ArcGIS Pro 2.9 API Reference Guide
GetCurrentSketchAsync(LayoutView) Method

ArcGIS.Desktop.Layouts Namespace > LayoutExtensions Class : GetCurrentSketchAsync(LayoutView) Method
Gets the current geometry of the sketch without finishing it.
Syntax
public static Task<Geometry> GetCurrentSketchAsync( 
   LayoutView layoutView
)
Public Shared Function GetCurrentSketchAsync( _
   ByVal layoutView As LayoutView _
) As Task(Of Geometry)

Parameters

layoutView

Return Value

A Task representing the geometry of the sketch.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

LayoutExtensions Class
LayoutExtensions Members