Undo-Redo support
1 Mar 20221 minute to read
One of the important features of the image editor control is to perform Undo
and Redo
operations for adding shapes, text and drawing paths.
Undo
The Undo
method is used to revert the changes done previously over an image.
Undo can be performed for the following operations:
- Add/delete shapes or text.
- Change positions.
- Color/fill changes.
- Path drawings.
editor.Undo();
Redo
The Redo
method is used to redo the changes that are reverted by undo operation.
editor.Redo();
NOTE
Undo and redo cannot be applied for cropping and transformations.