How to add new button in SFImageEditor in Header and how to set path for saving edited image

Hello,

I want to add an extra button saying cancel and need to perform some logic when that button is clicked, can one please let me know how to add that button and how to handle event for that button.

Also I want to set custom the path where the image should be saved when user clicks on save button, how can I do that?



1 Reply

SG Sri Gayathri Gopalakrishnan Syncfusion Team October 29, 2017 02:28 PM UTC

Hi Maulik,

Thanks for using Syncfusion Products,

Query:Add cancel button in Header Toolbar

As per our current implementation , we don't have an option to add toolbar items.

We have provided support for removing toolbar items in our upcoming volume 4 release which is expected to be released by first week of November. We have already logged feature for "Adding toolbar items" .These feature will be available in any of our upcoming release

Query: How to set CustomPath where the image should be saved

We have prepared the sample to save the saved image to a different folder.Please download the sample from the below location

Sample Link:

https://www.syncfusion.com/downloads/support/forum/133392/ze/ImageEditor_GettingStarted_-695612339

In the sample,we have obtained the saved image from saving event. Then we have saved to a document Folder which we have written in ImageSaveDependencyService in the AppDelegate class.

Please let us know if you need further assistance.

Regards,
Sri Gayathri.G




Loader.
Up arrow icon