From 03d205ff6ea5a0d48d81ed4f50509514db4039cc Mon Sep 17 00:00:00 2001 From: SanjayKumar Date: Thu, 9 Jul 2026 18:27:39 +0530 Subject: [PATCH 1/2] changes in Zooming.md file --- uwp/Image-Editor/Zooming.md | 57 +++++++++++++++++++++++-------------- 1 file changed, 36 insertions(+), 21 deletions(-) diff --git a/uwp/Image-Editor/Zooming.md b/uwp/Image-Editor/Zooming.md index c995275ce..cbb904ddc 100644 --- a/uwp/Image-Editor/Zooming.md +++ b/uwp/Image-Editor/Zooming.md @@ -7,31 +7,39 @@ control: SfImageEditor documentation: ug --- -# Zooming in UWP Image Editor (SfImageEditor) +The following namespaces are required for zooming and panning in the SfImageEditor control: + +* `Syncfusion.UI.Xaml.ImageEditor` +* `Syncfusion.UI.Xaml.ImageEditor.Enums` -The image editor control provides support to zoom and pan actions over an image. You can zoom in and zoom out the image in image editor control. +# Zooming in UWP Image Editor (SfImageEditor) -The following properties are used for zooming feature of the image editor control: +The image editor control provides support for zoom and pan actions over an image. You can zoom in and zoom out of the image in the image editor control. -* EnableZooming +The following properties are used for the zooming feature of the image editor control: -* PanningMode +* `EnableZooming` +* `PanningMode` ## Enable zooming -You can enable or disable the zooming functionality by setting the [`EnableZooming`](https://help.syncfusion.com/cr/uwp/Syncfusion.UI.Xaml.ImageEditor.SfImageEditor.html#Syncfusion_UI_Xaml_ImageEditor_SfImageEditor_EnableZooming) value to true or false. By default, the `EnableZooming` value is set to true. +You can enable or disable the zooming functionality by setting the [`EnableZooming`](https://help.syncfusion.com/cr/uwp/Syncfusion.UI.Xaml.ImageEditor.SfImageEditor.html#Syncfusion_UI_Xaml_ImageEditor_SfImageEditor_EnableZooming) property to `true` or `false`. By default, the `EnableZooming` property is set to `true`. {% tabs %} {% highlight XAML %} - + + xmlns:imageeditor="using:Syncfusion.UI.Xaml.ImageEditor" + - + {% endhighlight %} {% highlight C# %} - - editor.EnableZooming = false; + + using Syncfusion.UI.Xaml.ImageEditor; + + editor.EnableZooming = false; {% endhighlight %} @@ -39,12 +47,12 @@ You can enable or disable the zooming functionality by setting the [`EnableZoomi ## Panning mode -The image editor control provides support for panning and allows to pan the image with two fingers or single finger by setting the [`PanningMode`](https://help.syncfusion.com/cr/uwp/Syncfusion.UI.Xaml.ImageEditor.SfImageEditor.html#Syncfusion_UI_Xaml_ImageEditor_SfImageEditor_PanningMode). +The image editor control provides support for panning and allows you to pan the image with two fingers or a single finger by setting the [`PanningMode`](https://help.syncfusion.com/cr/uwp/Syncfusion.UI.Xaml.ImageEditor.SfImageEditor.html#Syncfusion_UI_Xaml_ImageEditor_SfImageEditor_PanningMode). -The following properties are used for panning: +The following values are used for panning: -* `SingleFinger`: Zooms or pans the image with single finger, but shapes and text selection cannot be performed with this mode. -* `TwoFinger`: Zooms or pans the image with two finger. The shapes and text selection can be performed with this mode. +* `SingleFinger`: Zooms or pans the image with a single finger, but shapes and text selection cannot be performed with this mode. +* `TwoFinger`: Zooms or pans the image with two fingers. Shapes and text selection can be performed with this mode. By default, the [`PanningMode`](https://help.syncfusion.com/cr/uwp/Syncfusion.UI.Xaml.ImageEditor.SfImageEditor.html#Syncfusion_UI_Xaml_ImageEditor_SfImageEditor_PanningMode) value is set to `TwoFinger`. @@ -52,13 +60,17 @@ By default, the [`PanningMode`](https://help.syncfusion.com/cr/uwp/Syncfusion.UI {% highlight XAML %} + xmlns:imageeditor="using:Syncfusion.UI.Xaml.ImageEditor" + {% endhighlight %} {% highlight C# %} -editor.PanningMode = PanningMode.TwoFinger; + using Syncfusion.UI.Xaml.ImageEditor.Enums; + + editor.PanningMode = PanningMode.TwoFinger; {% endhighlight %} @@ -66,22 +78,25 @@ editor.PanningMode = PanningMode.TwoFinger; ## Maximum zoom level -Zooming of the image can be restricted to certain level based on the value of the [`MaximumZoomLevel`](https://help.syncfusion.com/cr/uwp/Syncfusion.UI.Xaml.ImageEditor.SfImageEditor.html#Syncfusion_UI_Xaml_ImageEditor_SfImageEditor_MaximumZoomLevel) property. +Zooming of the image can be restricted to a certain level based on the value of the [`MaximumZoomLevel`](https://help.syncfusion.com/cr/uwp/Syncfusion.UI.Xaml.ImageEditor.SfImageEditor.html#Syncfusion_UI_Xaml_ImageEditor_SfImageEditor_MaximumZoomLevel) property. {% tabs %} {% highlight XAML %} - - - + xmlns:syncfusion="using:Syncfusion.UI.Xaml.ImageEditor" + + + {% endhighlight %} {% highlight C# %} -SfImageEditor editor = new SfImageEditor(); -editor.MaximumZoomLevel = 2; + using Syncfusion.UI.Xaml.ImageEditor; + + SfImageEditor editor = new SfImageEditor(); + editor.MaximumZoomLevel = 2; {% endhighlight %} From 4658a4de59d2406303cb113f7f9f1b45137f729b Mon Sep 17 00:00:00 2001 From: SanjayKumar Date: Fri, 10 Jul 2026 11:16:16 +0530 Subject: [PATCH 2/2] Resolving CI --- uwp/Image-Editor/Zooming.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uwp/Image-Editor/Zooming.md b/uwp/Image-Editor/Zooming.md index cbb904ddc..0684d45b8 100644 --- a/uwp/Image-Editor/Zooming.md +++ b/uwp/Image-Editor/Zooming.md @@ -2,7 +2,7 @@ layout: post title: Zooming in UWP Image Editor control | Syncfusion description: Learn here all about Zooming support in Syncfusion UWP Image Editor (SfImageEditor) control and more. -platform: UWP +platform: uwp control: SfImageEditor documentation: ug ---