Auto Size RadImageEditor Picture
Environment
Product Version | 2018.3.911 |
Product | RadImageEditor for WPF |
Description
How to auto size RadImageEditor's picture so that no zooming is applied.
Solution
Set the ScaleFactor property of RadImageEditor to 0.
<telerik:RadImageEditor ScaleFactor="0" />
private void RadImageEditorUI_ImageEditorLoaded(object sender, EventArgs e)
{
var radImageEditorUI = (RadImageEditorUI)sender;
radImageEditorUI.ImageEditor.ScaleFactor = 0;
}