Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Submit your requests and polls about new features
  • Page:
  • 1

TOPIC:

Set a specific zoom Level 11 years 9 months ago #105

  • jleidgens
  • jleidgens's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 3
  • Thank you received: 0
At the moment the pdf View only has the pinch/spread to zoom.

I want to add a double tap to zoom feature.

For that I would like to have three zoom levels 100% 125% 150% for example. On double tap should now cycle through those zoom levels. Is it possible to set the View to a specific zoom level from code?

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

Re: Set a specific zoom Level 11 years 9 months ago #107

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1123
  • Thank you received: 73
i'll add this in furture

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

Re: Set a specific zoom Level 11 years 9 months ago #112

  • support
  • support's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 692
  • Thank you received: 59
Take a look there

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

Re: Set a specific zoom Level 11 years 9 months ago #116

  • jleidgens
  • jleidgens's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 3
  • Thank you received: 0
How do I use the new methods to manage zoom?

I couldn't find something related to zoom in the classes or in the javadoc.
Maybe I only looked at the wrong location.

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

Re: Set a specific zoom Level 11 years 9 months ago #117

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1123
  • Thank you received: 73
pass the coordinate that double clicked.

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

Re: Set a specific zoom Level 11 years 9 months ago #118

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 1123
  • Thank you received: 73
method of PDFView:
viewGetRatio
viewSetRatio
viewEnableTextSelection

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

Last edit: by . Reason: spelling
  • Page:
  • 1
Powered by Kunena Forum