1019 B
1019 B
layout | title | description | platform | control | documentation |
---|---|---|---|---|---|
post | Undo, Redo in Syncfusion SfImageEditor control in Xamarin.Android | Learn how to perform undo and redo in ImageEditor for Xamarin.Android | xamarin.android | ImageEditor | ug |
Undo and Redo
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, text
- Change Positions
- Color/Fill changes
- Path Drawings
{% tabs %}
{% highlight C# %}
editor.Undo();
{% endhighlight %}
{% endtabs %}
Redo
The Redo
method is used to redo the changes that are reverted in the undo operation.
{% tabs %}
{% highlight C# %}
editor.Redo();
{% endhighlight %}
{% endtabs %}
N> Undo and redo cannot be applied for cropping and transformations.