Microsoft Windows Phone 8.1 support ends (13 Jul 2017)

Microsoft has ended support for Windows Phone 8.1

Questions about Android development and PDF

Minimum zoom factor

More
IP: 105.227.167.190 7 years 1 month ago #14462 by cornelius
Hi

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

Thanks
More
IP: 37.183.44.177 7 years 1 month ago #14468 by luca.f
Replied by luca.f on topic Minimum zoom factor
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;
More
IP: 105.229.245.92 7 years 1 month ago #14476 by cornelius
Replied by cornelius on topic Minimum zoom factor
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
More
IP: 37.183.44.177 7 years 1 month ago #14477 by luca.f
Replied by luca.f on topic Minimum zoom factor
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
Time to create page: 0.427 seconds
Powered by Kunena Forum