This is a migrated thread and some comments may be shown as answers.

RadImageEditor - Draw only without confirmation

1 Answer 158 Views
ImageEditor
This is a migrated thread and some comments may be shown as answers.
Sebastiaan
Top achievements
Rank 1
Sebastiaan asked on 12 Mar 2021, 02:25 PM

Hi, 

I would like to implement the RadImageEditor for a person to save a signatur. No editing or anything is required. I load the ImageEditor with an empty png and directly load the drawtool. I've inherited the default DrawTool to hide the UIElement (since I don't want to have those settings visible) but when I stop drawing I still get the OK/Cancel buttons.How can I hide those as well? Any drawing made can be committed directly.

 

Thanks!

1 Answer, 1 is accepted

Sort by
0
Vladimir Stoyanov
Telerik team
answered on 17 Mar 2021, 09:40 AM

Hello Sebastiaan,

Thank you for the shared information.

What comes to mind in order to hide the UI is to set the Opacity of the InlineToolSettingsPane inside the RadImageEditor to 0. You can also give this element some negative Margin to avoid it being over the image. This way you would be able to use the default DrawTool. 

I am attaching a sample project demonstrating this approach for your reference. Do try it out and let me know, if it helps.

Regards,
Vladimir Stoyanov
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
ImageEditor
Asked by
Sebastiaan
Top achievements
Rank 1
Answers by
Vladimir Stoyanov
Telerik team
Share this question
or