ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / MappingExtensions Class / GetSketchType Method
The map view containing the sketch.
Version

GetSketchType Method
Gets the type of geometry for the current sketch.
Syntax
public static Nullable<SketchGeometryType> GetSketchType( 
   MapView mapView
)

Parameters

mapView
The map view containing the sketch.

Return Value

The type or shape of the geometry for the current sketch.
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also