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

Keep aspect ratio in crop tool

3 Answers 97 Views
ImageEditor
This is a migrated thread and some comments may be shown as answers.
Gilberto
Top achievements
Rank 1
Gilberto asked on 20 Jul 2011, 07:07 PM
Hello,

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

Sort by
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!

0
Gilberto
Top achievements
Rank 1
answered on 20 Jul 2012, 04:28 PM
Hello,

Does anyone implements that feature?

Keep aspect radio in crop tool of image editor.

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.

I hope this helps.

Regards,
Iva Toteva
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
ImageEditor
Asked by
Gilberto
Top achievements
Rank 1
Answers by
Ivailo Karamanolev
Telerik team
Gilberto
Top achievements
Rank 1
Iva Toteva
Telerik team
Share this question
or