Desactivate Zoom - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
13 Jul 2017
Microsoft has ended support for Windows Phone 8.1
Read More...
Questions about Android development and PDF
  • Page:
  • 1

TOPIC: Desactivate Zoom

Desactivate Zoom 3 years 2 weeks ago #9751

  • mfsuarez
  • mfsuarez's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
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.

Please Log in or Create an account to join the conversation.

Desactivate Zoom 3 years 2 weeks ago #9752

  • Davide
  • Davide's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 814
  • Karma: 17
  • Thank you received: 65
Hi,
if you have a Professional or a Premium license you have to edit motionZoom method of PDFView class as following:
private boolean motionZoom(MotionEvent event){
	m_status = STA_NONE;
	return true;
}

Please Log in or Create an account to join the conversation.

Last edit: by Davide.

Desactivate Zoom 3 years 2 weeks ago #9753

  • mfsuarez
  • mfsuarez's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
Hi,

I have standard license. How can i do it?

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum