ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / MapTool Class / SetCurrentSketchAsync Method
The geometry of the sketch.
Version

    SetCurrentSketchAsync Method (MapTool)
    Sets the current geometry of the sketch without finishing it.
    Syntax
    protected Task SetCurrentSketchAsync( 
       Geometry geometry
    )

    Parameters

    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