Undo Redo in Xamarin Image Editor (SfImageEditor)
13 May 20211 minute to read
One of the important features of the image editor control is to perform Undo
and Redo
operations for adding shapes, text, effects, 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 or delete shapes or text
- Change positions
- Color or fill changes
- Path drawings
- Applying effects
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.