Notifies the task that the edit sketch has been deleted.
[Visual Basic .NET]
Public Sub OnDeleteSketch ( _
)
[C#] public void OnDeleteSketch ( );
[C++]
HRESULT OnDeleteSketch(
void
);
Product Availability
Available with ArcGIS Engine.
Description
OnDeleteSketch is fired when an edit sketch is deleted programmatically using the IEngineEditSketch::DeleteSketch method, or by the end user interactively calling the ControlsEditingSketchDeleteCommand or when the Delete key is pressed on the keyboard.
Use the OnDeleteSketch method to undo any steps completed during the edit sketch.