Questions about Android development and PDF
Desactivate Zoom
Less
More
-
Posts: 3
-
Thank you received: 0
-
-
10 years 10 months ago #9751
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.
Less
More
-
Posts: 814
-
Thank you received: 65
-
-
-
10 years 10 months ago - 10 years 10 months ago #9752
by Davide
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.
Less
More
-
Posts: 3
-
Thank you received: 0
-
-
10 years 10 months ago #9753
by mfsuarez
Hi,
I have standard license. How can i do it?