ArcGIS Pro 3.0 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, Windows 8.1

    See Also