ArcGIS Pro 2.8 API Reference Guide
SetSketchGeometry Method

ArcGIS.Desktop.Mapping.Events Namespace > BeforeSketchCompletedEventArgs Class : SetSketchGeometry Method
The new sketch geometry.
Sets the current geometry of the sketch without finishing it.
Syntax
public void SetSketchGeometry( 
   Geometry newSketch
)
Public Sub SetSketchGeometry( _
   ByVal newSketch As Geometry _
) 

Parameters

newSketch
The new sketch geometry.
Remarks
if the sketch geometry type of newSketch is different than the sketch geometry type of Sketch the newSketch will be ignored and the Sketch geometry will be used by the tool.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

BeforeSketchCompletedEventArgs Class
BeforeSketchCompletedEventArgs Members