SfImageEditor with gridlines

Hi all, I would like to add gridlines to the ImageEditor control. Any help would be greatly appreciated. Thanks.

3 Replies 1 reply marked as answer

RS Ramya Soundar Rajan Syncfusion Team November 3, 2020 10:02 AM UTC

Hi Gustavo Oliveira, 
  
Greetings from Syncfusion. 
  
We have checked your reported query. We would like to let you know that you can add any shape or view like grid lines as custom view to an image in SfImageEditor using AddCustomView method. Please refer the below links for more information. 
  
  
Regards, 
Ramya S 


Marked as answer

GO Gustavo Oliveira November 3, 2020 11:36 AM UTC

Hi Ramya,
Thank you very much for your prompt reply.
Using AddCustomView, the added view can be deleted, is that right? How to add a custom view and disable the remove action?
I would like to add gridlines as the image below.
Best regards,
Gustavo
See the source image


RS Ramya Soundar Rajan Syncfusion Team November 5, 2020 12:26 PM UTC

Hi Gustavo Oliveira, 
 
We would like to inform that you can disable the delete button visibility by setting the IsDeleteButtonVisible property of ToolbarSettings as false as like in below code snippet. 
 
editor.ToolbarSettings.IsDeleteButtonVisible = false; 
 
By default, the IsDeleteButtonVisible property is true. So, delete button will show whenever add custom view on an image or select the custom view. 
 
Please refer the help document link below. 
 
 
Regards, 
Ramya S

Loader.
Up arrow icon