I was wondering how can i have the checkbox "keep aspect ratio" in crop tool.
There is one easy way to do that?
By the way i couldn't find the documentation about this control.
Gilberto
3 Answers, 1 is accepted
0
Ivailo Karamanolev
Telerik team
answered on 21 Jul 2011, 03:06 PM
Hi Gilberto,
Currently, the crop tool doesn't support the "keep aspect ratio" option out of the box. We will add it to our to-do list, but I can not give you a time frame.
If this is an important feature to you, the source code is available along with the rest of the controls. In it, you can see how the crop tool is implemented and make your own custom one by implementing the ITool interface.
As for the documentation - we are currently working to make it available as soon as possible. Until that is done, however, you can take a look at one of our latest blog posts.
We'll be glad to answer any questions.
Best wishes,
Ivailo
the Telerik team
Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!
I was wondering if i can esily set the start size of the initial crop tool.
Best Regards
0
Iva Toteva
Telerik team
answered on 24 Jul 2012, 12:33 PM
Hi Gilberto,
We have not changed the way the CropTool works. However, as Ivailo has mentioned, you can implement your own custom crop tool following the example of the default one.
There is a sample demo for Silverlight in this forum post. You can copy the classes and use them with little to no changes in a WPF project. After that, you could proceed to adjust the work of the custom tool and adorner to match your requirements.