We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to change the image saving location?

By default, in SfImageEditor when we save image, the image will be getting saved in gallery. We can also able to change the image saving location.

 

Step 1: Create SfImageEditor sample with all necessary assemblies.

 

Please refer the below link to create a simple SfImageEditor sample along with the ways to configure it.

https://help.syncfusion.com/xamarin/sfimageeditor/getting-started

 

Step 2: We can able to change the image saving location for all the xamarin platforms. For this, you need to implement a DependencyService which is implemented across all the platform specific projects.

 

For adding the DependencyService, first you need to add an interface in the PCL project as in the below code snippet:

 

 

Now, you have to implement and register the DependencyService in the assembly based on platform specific. This can be done as follows:

 

Android

 

 

iOS:

 

In iOS there is no possibilities to pick local directory for saving images.

 

Only we can save the image into particular directory.

 

 

UWP

 

 

 

Step3: Select Directory from DependencyService method call.

 

 

Sample link:

http://www.syncfusion.com/downloads/support/directtrac/general/ze/ImageEditor_GettingStarted-675256054.zip                       

Article ID: Published Date: Last Revised Date: Platform: Control:
8827 06/12/2018 07/06/2018 Xamarin.Forms SfImageEditor
Did you find this information helpful?
Add Comment
You must log in to leave a comment

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon