ArcGIS Pro 2.6 API Reference Guide
GetSketchType Method

ArcGIS.Desktop.Mapping Namespace > MappingExtensions Class : GetSketchType Method
The map view containing the sketch.
Gets the type of geometry for the current sketch.
Syntax
public static Nullable<SketchGeometryType> GetSketchType( 
   MapView mapView
)
Public Shared Function GetSketchType( _
   ByVal mapView As MapView _
) As Nullable(Of SketchGeometryType)

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 10, Windows 8.1, Windows 7

See Also

Reference

MappingExtensions Class
MappingExtensions Members