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: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

[HOW TO] SfImageEditor: add a single circle on image

Thread ID:





145433 Jun 21,2019 10:13 AM UTC Jun 24,2019 02:20 PM UTC Xamarin.Forms 1
Tags: SfImageEditor
Matteo Comi
Asked On June 21, 2019 10:13 AM UTC

I would like to user the SfImageEditor control to add a single circle over an image by touching it, if possible without choosing the control.
I know how to hide the toolbar items and how to create a custom item, but how can I achieve my goal?

Would it be possible to create a single circle and delete the ones drawed previously?

Thanks in advance,

Rachel A [Syncfusion]
Replied On June 24, 2019 02:20 PM UTC

Hi Matteo, 
Thanks for contacting Syncfusion Support. 
You can achieve your requirement by using the AddShape method in SfImageEditor to add the shape dynamically without using any toolbar items. Please refer the below code snippet for your reference. 
imageEditor.AddShape(ShapeType.Circle, new PenSettings()); 
We have prepared the sample to add the shape when tapping the image. Please find the sample from the following location. 
Please refer the below UG link for how to add the shapes without using toolbar. 
Also, refer the below UG link for customizing the shape settings and shape rendering position. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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

Live Chat Icon For mobile
Live Chat Icon