I'm using AJAX RadImageEditor in an aspx page:
<telerik:RadImageEditor ID="RadImageEditorFront" CssClass="ImageCtrl" runat="server" Skin="Telerik" Width="545px" Height="300px" RenderMode ="Lightweight" StatusBarMode="Hidden" style="top: 0px; left: 0px"><Tools>
<telerik:ImageEditorToolGroup>
<telerik:ImageEditorTool Text="ZoomIn" CommandName="ZoomIn" />
<telerik:ImageEditorTool Text="ZoomOut" CommandName="ZoomOut" />
<telerik:ImageEditorTool Text="ZoomOut" CommandName="Zoom" />
<telerik:ImageEditorTool Text="Rotate Right" CommandName="RotateRight" />
<telerik:ImageEditorTool Text="Rotate Left" CommandName="RotateLeft" />
<telerik:ImageEditorTool Text="Flip Vertical" CommandName="FlipVertical" />
</telerik:ImageEditorToolGroup>
</Tools>
</telerik:RadImageEditor>
I need to change the percentage that the AJAX RadImageEditor zooms in or out on the loaded image when I call the client side methods zoomIn() or zoomOut().
When I use the client side methods zoomIn() or zoomOut(), the image is zoomed in at 50%.
var radImageEditor = $telerik.findControl(document.documentElement, $(this).attr("id"));
radImageEditor.zoomIn(); or radImageEditor.zoomOut();
(note: jQuery code above)
I have tried zoomImage(zoomLevel, shouldUpdateUI), but that did not appear to be the solution (the image became a small dot on the screen).
How can I change the zoom in and zoom out percentage (scale) to 10% for the AJAX RadImageEditor - or asked another way - how can I get the image to scale 10% (instead of 50%) each time I call zoomIn() or zoomOut (or another zooming method)?