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.

In This Topic
    SetCurrentSketchAsync Method (MappingExtensions)
    In This Topic
    Sets the current geometry of the sketch without finishing it.
    Syntax
    public static Task SetCurrentSketchAsync( 
       MapView mapView,
       Geometry geometry
    )
    Public Shared Function SetCurrentSketchAsync( _
       ByVal mapView As MapView, _
       ByVal geometry As Geometry _
    ) As Task

    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