Further explanation on SaveEdits and LoadEdits

I have multiple images that I would like to show in my SfImageEditor. I have a picker above my SfImageEditor where I select the name of the image from the picker. That particular image will show down below in the SfImageEditor.

I make edits on these images and I want these edits to be stored separately from the image itself so I want to use SaveEdits method for this reason and store the Json string in a text file or in the database. When I load this page again and select images from the picker, I want to use the LoadEdits method to load back the edits to respective images in the SfImageEditor. In this case, will I be able to delete individual edits? For example, in image number 1 I have added a text box and a shape previously. Now when I load the page again and select image 1 from picker, LoadEdits should load the textbox and shape again. Will I be able to delete the select the textbox and delete it? 

Can you please provide a sample project of how I could do this.

Thank you,
Madhu

3 Replies 1 reply marked as answer

RS Ramya Soundar Rajan Syncfusion Team October 9, 2020 11:32 AM UTC

Hi Madhu Ganesh, 
 
Greetings from Syncfusion. 
 
We have analyzed your reported query and we would like to let you know that we can delete the selected shape or text after deserialize using LoadEdits method. We have prepared a sample based on your requirement. Please refer the sample from below location. 
 
 
 
Regards, 
Ramya S 


Marked as answer

MG Madhu Ganesh October 12, 2020 08:52 PM UTC

Great, thank you!

Is there any way I can get rid of free hand pen drawings after LoadEdits? 


RS Ramya Soundar Rajan Syncfusion Team October 13, 2020 10:35 AM UTC

Hi Madhu Ganesh,   
   
We would like to let you know that we have directly drawn the freehand annotation in the image panel and its irregular shapes. So, we couldn’t select the freehand drawing and delete it. However, we have already considered the feature to erase the freehand shape. Please find the link below.  
   
We don’t have an immediate plan to implement this feature, it will available in any one of our upcoming Volume releases. Please cast your vote to make it count. We will prioritize the features of every release based on the demands. If you have any more specifications/suggestions to the feature request, you can add it as a comment in the portal.    
   
Regards,  
Ramya S  


Loader.
Up arrow icon