Provides access to members that control undo/redo capabilities for edit sketch modifications.
Product Availability
Available with ArcGIS Desktop.
Members
Description | ||
---|---|---|
Finish | Finishes the operation and puts it into the operation stack. Call this after the sketch has been modified. | |
MenuString | The text that appears in the undo menu choice. | |
Start | Starts the operation, caching the existing sketch. Call this before modifying the sketch. |
CoClasses that implement ISketchOperation2
CoClasses and Classes | Description |
---|---|
SketchOperation | Provides undo/redo capabilities for edit sketch modifications. |
Remarks
ISketchOperation2 was added to provide a new implementation for the Finish method. The new implementation allows tools to give more information about what they modified; typically, the edited sketch point is passed back to clients listening to editor events (IEditEvents2).
For example, if a point is deleted from an edit sketch and ISketchOperation2::Finish is used to complete the operation, the deleted point is passed to clients responding to IEditEvents2::OnVertexDeleted.
See Also
IEditAttributeProperties Interface | IEnvelope Interface | IOperation Interface