Hi Jason,
Thanks for contacting Syncfusion support.
Your requirement can be achieved by using the Serialization and Deserialization. The image editor control provides support to serialize and deserialize the shapes, so that we can save the current state of the image editor by calling the SaveEdits() method and we can load the shapes back by calling the LoadEdits() method over an image. The code snippet is provided below.
Code snippet:
|
Serialization:
Stream stream = editor.SaveEdits();
Deserialization:
editor.LoadEdits(stream); |
We have prepared a simple sample to achieve your requirement using the Serialization and Deserialization. Please get the sample from the below link.
Regards,
Eswaran