- Home
- Forum
- Xamarin.Forms
- Select Shape Only At Max Zoom Out
Select Shape Only At Max Zoom Out
Is it intended behavior that you can only select an existing shape when zoomed all the way out? I am not able to select when zoomed in. Testing specifically in Android but I'm pretty sure I saw the same behavior in iOS.
SIGN IN To post a reply.
4 Replies
SS
Sridevi Sivakumar
Syncfusion Team
July 22, 2021 12:53 PM UTC
Hi Jonah Coleman,
Greetings from Syncfusion.
We have tested the reported problem with SfImageEditor and we can select the shapes while the image is in zoomed in and zoomed out the state. We have prepared a sample for your requirement, please have a tested sample from the below link
Sample link: https://www.syncfusion.com/downloads/support/directtrac/general/ze/Gettting-Started-Xamarin-Image-Editor-main-1979883159
Since we are not aware of your exact application scenario, we were not able to reproduce this at our end, can you please revert us by modifying the sample based on your application along with the replication procedure.
Regards,
Sridevi S.
Greetings from Syncfusion.
We have tested the reported problem with SfImageEditor and we can select the shapes while the image is in zoomed in and zoomed out the state. We have prepared a sample for your requirement, please have a tested sample from the below link
Sample link: https://www.syncfusion.com/downloads/support/directtrac/general/ze/Gettting-Started-Xamarin-Image-Editor-main-1979883159
Since we are not aware of your exact application scenario, we were not able to reproduce this at our end, can you please revert us by modifying the sample based on your application along with the replication procedure.
Regards,
Sridevi S.
JC
Jonah Coleman
August 13, 2021 07:07 PM UTC
Found the difference- this line will cause the selection to fail when zoomed in:
PanningMode="SingleFinger" MaximumZoomLevel="100"
<imageeditor:SfImageEditor Source="{Binding Image}"
PanningMode="SingleFinger" MaximumZoomLevel="100"
/>
FYI I could never get your Android project to compile, but I was able to see the difference in your iOS project.
JC
Jonah Coleman
August 13, 2021 07:10 PM UTC
Sorry, it's actually just the panningmode by itself. Zoom level is not important.
ET
Eswaran Thirugnanasambandam
Syncfusion Team
August 16, 2021 12:54 PM UTC
Hi Jonah Coleman,
Thanks for your update.
Image editor allows you to pan the image with two fingers or single finger by setting the PanningMode. While panning mode is SingleFinger, shapes and text selection cannot be performed. So set the PanningMode as TwoFinger to select the shape. For more details about PanningMode, please check the below help document link.
Regards,
Eswaran
SIGN IN To post a reply.
- 4 Replies
- 4 Participants
-
JC Jonah Coleman
- Jul 21, 2021 03:51 PM UTC
- Aug 16, 2021 12:54 PM UTC