Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about Android development and PDF
  • Page:
  • 1

TOPIC:

Minimum zoom factor 4 years 8 months ago #14462

  • cornelius
  • cornelius's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • 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 4 years 8 months ago #14468

  • luca.f
  • luca.f's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 93
  • Thank you received: 10
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 4 years 8 months ago #14476

  • cornelius
  • cornelius's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • 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 4 years 8 months ago #14477

  • luca.f
  • luca.f's Avatar
  • Offline
  • User is blocked
  • User is blocked
  • Posts: 93
  • Thank you received: 10
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