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

In This Topic
    GetCurrentSketchAsync Method (MappingExtensions)
    In This Topic
    Gets the current geometry of the sketch without finishing it.
    Syntax
    Public Shared Function GetCurrentSketchAsync( _
       ByVal mapView As MapView _
    ) As Task(Of Geometry)
    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 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also