Minimum zoom factor - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about Android development and PDF
  • Page:
  • 1

TOPIC: Minimum zoom factor

Minimum zoom factor 1 week 5 days ago #14462

  • cornelius
  • cornelius's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 13
  • Thank you received: 0
Hi

How do I set the minimum zoom factor on a PDF?
I want to be able to zoom out further than 100%

Thanks

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

Minimum zoom factor 1 week 5 days ago #14468

  • luca.f
  • luca.f's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 12
  • Thank you received: 0
Dear user,
Depending on the render mode you are using, you can modify the method vLayout():
after the assignment of m_scale_min, multiply m_scale_min for a positive <1 factor (depending on the level of "zoom-out" you want).
i.e.
m_scale_min *= 0.8;

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

Minimum zoom factor 6 days 18 minutes ago #14476

  • cornelius
  • cornelius's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 13
  • Thank you received: 0
Thank you for the reply, I however think this is for iOS.
How do I set the minimum zoom factor on Android, because I can't edit the source code of the library

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

Minimum zoom factor 5 days 23 hours ago #14477

  • luca.f
  • luca.f's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 12
  • Thank you received: 0
It is for Android.
Could you please check what version you're using, and what type of license?
If it is Professional of Premium, you can download the source code from your panel. If it is one of the more recent versions, source files are included.
When you have access to the source code, you can find the classes to edit in ViewLib\src\main\java\com\radaee\view

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

  • Page:
  • 1
Powered by Kunena Forum