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

Save uncropped image.

2 Answers 20 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
선정
Top achievements
Rank 1
선정 asked on 22 Jul 2019, 02:20 AM

Hi.

When clicked crop item and then directly press save button, cropped image is saved.It seems cropped result image save.

What i want  no cropping just save image. Please refer to the file for details.

How can i get uncropped image.

Please give me advise. 

Thanks reading this post.

2 Answers, 1 is accepted

Sort by
0
선정
Top achievements
Rank 1
answered on 22 Jul 2019, 02:22 AM
Sorry, please refer to this file
0
Martin Ivanov
Telerik team
answered on 24 Jul 2019, 11:34 AM
Hello,

To achieve your requirement you can create a custom SaveImageCommand and override its ExecuteOverride method. There you can check if the executing tool is CropTool. In this case, avoid committing the tool. You can assign the custom command to the RadImageEditorUIcontrol via its SaveCommand property. I've attached a small example showing this. I hope it helps.

Regards,
Martin Ivanov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
General Discussions
Asked by
선정
Top achievements
Rank 1
Answers by
선정
Top achievements
Rank 1
Martin Ivanov
Telerik team
Share this question
or