By default, in Image editor when we save image, the image will be getting saved in gallery. We can also able to retrieve and display the image which is stored in the location. ImageSavedEventArgs used to get the saved image location as its argument. Please follow the following steps to retrieve image from saved location.
Step 1: Create image editor sample with all necessary assemblies.
Please refer the below link to create a simple SfImageEditor sample along with the ways to configure it.
Step 2: To retrieve image in 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 must implement and register the DependencyService in the assembly based on platform specific. This can be done as follows:
Step 3: Get the saved image from DependencyService method call and retrieve the image.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|