ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / MappingExtensions Class / ClearSketchAsync Method
The map view.

In This Topic
    ClearSketchAsync Method (MappingExtensions)
    In This Topic
    Clears the current sketch in the view.
    Syntax
    public static Task ClearSketchAsync( 
       MapView mapView
    )
    Public Shared Function ClearSketchAsync( _
       ByVal mapView As MapView _
    ) As Task

    Parameters

    mapView
    The map view.

    Return Value

    A Task representing a clear sketch operation.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.0 or higher.
    See Also