ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Mapping.Events Namespace / SketchCompletedEventArgs Class / Sketch Property
Example Version

Sketch Property (SketchCompletedEventArgs)
Gets the final sketch geometry.
Syntax
public Geometry Sketch {get;}
Example
Listen to the sketch completed event
// SketchCompleted event is fired by 
//  - COTS construction tools (except annotation, dimension geometry types), 
//  - Edit Vertices, Reshape, Align Features
//  - 3rd party tools with FireSketchEvents = true


//Subscribe to the sketch completed event
//ArcGIS.Desktop.Mapping.Events.SketchCompletedEvent.Subscribe(OnSketchCompleted);

private void OnSketchCompleted(SketchCompletedEventArgs args)
{
  // get the sketch
  var finalSketch = args.Sketch;

  // do something with the sketch - audit trail perhaps
}
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also