ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / MappingExtensions Class / SetCurrentSketchAsync Method
The map view containing the sketch.
The geometry of the sketch.
Version

    SetCurrentSketchAsync Method (MappingExtensions)
    Sets the current geometry of the sketch without finishing it.
    Syntax
    public static Task SetCurrentSketchAsync( 
       MapView mapView,
       Geometry geometry
    )

    Parameters

    mapView
    The map view containing the sketch.
    geometry
    The geometry of the sketch.

    Return Value

    A Task representing a set sketch operation.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also