We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Android - Pinch-To-Zoom Disabled?

Thread ID:

Created:

Updated:

Platform:

Replies:

127398 Nov 14,2016 12:10 AM Nov 17,2016 12:48 PM Xamarin.Forms 3
loading
Tags: PdfViewer
Ian Jones
Asked On November 14, 2016 12:10 AM

Noticed that pinch-to-zoom not working for Android PDF viewing.
Same code works fine on iOS.
Any ideas?

Balasubramanian Sundararajan [Syncfusion]
Replied On November 15, 2016 11:13 PM

Hi Ian, 
 
Thank you for using Syncfusion product. 
 
Due to memory related issues in Xamarin.Forms Android, we have restricted the minimum and maximum Zoom percentage for displaying PDF document to 75% and 200% respectively. We could not Zoom-Out (or) Zoom-In beyond the specified zoom percentage.  
 
Default zoom percentage is calculated based on the device resolution and it can be differ based on the device size but it is not 100 percentage.   
 
Please let us know if you have any concerns. 
 
Thanks, 
Balasubramanian S 


Ian Jones
Replied On November 16, 2016 02:54 AM

Balasubramanian,

Thanks for the detailed feedback.
Is there anything I need to set on Android to get zoom working?
It simply doesn't do anything at the moment (but iOS is fine).
Zooming in to 200% would be perfect :)

Regards,
Ian

Balasubramanian Sundararajan [Syncfusion]
Replied On November 17, 2016 12:48 PM

Hi Ian, 
 
Thank you for your update. 

As we mentioned earlier, the PDF document will not be displaying in 100% zoom initially. The initial Zoom percentage will differ based on the resolution of the mobile device. On initial loading of PDF document, we will increase (or) decrease the zoom percentage to display the PDF document in fit width size and the initial zoom percentage will be higher than 100% for higher resolution device.  

In order to ensure the zoom is working properly, we request you to try zoom out the PDF document as minimum as possible. We are maintaining the minimum zoom percentage of 75% and we cannot perform zoom out beyond that. Then zoom in the PDF document to calculate the zoom percentage of 200. Kindly get back to us with more details if you still facing the zooming issue 

Please let us know if you have any concerns. 

Thanks, 
Balasubramanian S 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;