change min scale - 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

TOPIC: change min scale

change min scale 3 years 7 months ago #7211

  • custompdf
  • custompdf's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 14
  • Thank you received: 0
We have the following problem:
Our pdfview is smaller than the complete screen, because we have a custom action bar on top of the view.
The m_scale_min of the PDFView is calculated with the whole screen view.
I want to scale out in Portrait view so that the whole Document is visible ( I use PDFViewVert) because i need screen fit in landscape mode.

Is there any way to change the m_scale_min value? I know it's a private member but i need to scale the view lower than the min value.

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

change min scale 3 years 7 months ago #7214

  • nermeen
  • nermeen's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 789
  • Karma: 20
  • Thank you received: 58
If you have a professional or premium license, you can change how the scale is calculated in PDFViewVert.vLayout

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

change min scale 3 years 7 months ago #7216

  • custompdf
  • custompdf's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 14
  • Thank you received: 0
We have a premium license from another project yes. Where can i get the source then?

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

change min scale 3 years 7 months ago #7218

  • nermeen
  • nermeen's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 789
  • Karma: 20
  • Thank you received: 58
you can get the sources from www.androidpdf.mobi/shop/key-request
Enter Order Reference and PIN then Order Status, then choose the correct wrapper from the Available releases drop box…

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

change min scale 3 years 7 months ago #7219

  • radaee
  • radaee's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 830
  • Karma: 43
  • Thank you received: 10
m_scale_min depends on width and height of the view, not screen width and height.
if the view is not full screen, m_scale_min shall changes.

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

change min scale 3 years 7 months ago #7223

  • custompdf
  • custompdf's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 14
  • Thank you received: 0
I need to display a single site pdf so that it's completely visible and centered vertical + horizontal.
When using PDFViewVert I'm not able to scale the pdf lower than page-width. (which is the correct behaviour)
And in PDFViewHoriz the page is not centered vertical but sticks at the left corner of the view.

Is there any (quick) way to get a centered view and the whole page is visible?
The PDF Page size is: w:300mm h:450mm or w:850px h:1275px

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

Powered by Kunena Forum