Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Questions about Android development and PDF

Desactivate Zoom

More
10 years 10 months ago #9751 by mfsuarez
Desactivate Zoom was created by mfsuarez
Hello,

How can I desactivate Zoom in "def_view=3"?

I need to avoid that the user can zoom the document with the pinch gesture.

Thanks in advance.
More
10 years 10 months ago - 10 years 10 months ago #9752 by Davide
Replied by Davide on topic Desactivate Zoom
Hi,
if you have a Professional or a Premium license you have to edit motionZoom method of PDFView class as following:
Code:
private boolean motionZoom(MotionEvent event){ m_status = STA_NONE; return true; }
Last edit: 10 years 10 months ago by Davide.
More
10 years 10 months ago #9753 by mfsuarez
Replied by mfsuarez on topic Desactivate Zoom
Hi,

I have standard license. How can i do it?
Time to create page: 0.393 seconds
Powered by Kunena Forum