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

DrawTextTool Behavior

1 Answer 36 Views
ImageEditor
This is a migrated thread and some comments may be shown as answers.
Luke Daugherty
Top achievements
Rank 1
Luke Daugherty asked on 11 Feb 2015, 10:07 PM
This tool behaves very different then other tools that popup a control. The others open and close on multiple clicks\commands. This one opens up many on top of each other, and can lead to overlapping text if you change it in multiple DrawTextTool's that were opened. Only way to close it appears to be to execute another command. And only way to clear text is to use Undo (unless the text is from the latest DrawTextTool opened).

Anyways, it seems some greater control over what is going on here would be nice. The documentation is also non-existent as far as I can tell. I see the tool in a screenshot located in the ImageEditor doc, but no actual mention of it or how to properly use it.

1 Answer, 1 is accepted

Sort by
0
Tanya
Telerik team
answered on 13 Feb 2015, 04:56 PM
Hi Luke,

Thank you for your feedback, we really appreciate it.

Indeed, by default RadImageEditor's tools are committed when you change the tool. Actually, I tested some other image editing components and they behave in a similar manner, but nevertheless we will discuss your request.

In fact, there are extensibility points that allow you to control the behavior when committing one of the tools. Please take a look at the Events article and the ToolCommitted/ToolCommitting events in particular. There is also an example of how to use that in our SDK Repository.

Regarding the documentation, we are doing our best to keep it full and up to date and will consider adding information about this specific tool.

Let me know if I can assist you with anything else.

Regards,
Tanya
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
ImageEditor
Asked by
Luke Daugherty
Top achievements
Rank 1
Answers by
Tanya
Telerik team
Share this question
or