[Solved] How to set the Zoom percentage in the ImageEditor programmatically?

1 Answer 9 Views
ImageEditor
Dave
Top achievements
Rank 2
Iron
Iron
Iron
Dave asked on 18 Sep 2026, 12:19 PM
Hi Telerik,

I'm working with an older, obsolete 2024.3.924 , version of the ImageEditor tool and need to set the zoom value in the TextBox to Auto.  Currently, the default is 100%

The ZoomFactor property seems to set the Zoom of the slider control and not the image.

private float_defaultEditorScale {get;set;} = 0.60f;
...
ImageEditor.ZoomFactor = new SizeF(_defaultEditorScale, _defaultEditorScale);

Also tried the Tools property viewer.  This value is overwritten somewhere along the line.

Thanks,
Dave


1 Answer, 1 is accepted

Sort by
0
Dinko | Tech Support Engineer
Telerik team
answered on 23 Sep 2026, 10:06 AM

Hi David,

Thank you for contacting us.

To set the zoom factor to auto, you can set the SelectedIndex property of the dropdown list. You can execute the following code when the Form is loading.

this.radImageEditor1.ImageEditorElement.ZoomElement.DropDownList.SelectedIndex = 0;

Give this a try and let me know if it works for you.

Regards,
Dinko | Tech Support Engineer
Progress Telerik

Modernizing a WinForms application? Use the AI-powered WinForms Converter to simplify migration to Telerik UI for WinForms.
Tags
ImageEditor
Asked by
Dave
Top achievements
Rank 2
Iron
Iron
Iron
Answers by
Dinko | Tech Support Engineer
Telerik team
Share this question
or