RadaeePDF.com :: Topic: change min scale (1/4)
Welcome, Guest
Username: Password: Remember me

Signin/Signup with:

Questions about Android development and PDF

TOPIC: change min scale

change min scale 2 years 11 months ago #7211

  • custompdf
  • custompdf's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 14
  • Karma: 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.
The administrator has disabled public write access.

change min scale 2 years 11 months ago #7214

  • nermeen
  • nermeen's Avatar
  • OFFLINE
  • Moderator
  • Posts: 676
  • Thank you received: 40
  • Karma: 18
If you have a professional or premium license, you can change how the scale is calculated in PDFViewVert.vLayout
The administrator has disabled public write access.

change min scale 2 years 11 months ago #7216

  • custompdf
  • custompdf's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 14
  • Karma: 0
We have a premium license from another project yes. Where can i get the source then?
The administrator has disabled public write access.

change min scale 2 years 11 months ago #7218

  • nermeen
  • nermeen's Avatar
  • OFFLINE
  • Moderator
  • Posts: 676
  • Thank you received: 40
  • Karma: 18
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…
The administrator has disabled public write access.

change min scale 2 years 11 months ago #7219

  • radaee
  • radaee's Avatar
  • OFFLINE
  • Moderator
  • Posts: 825
  • Thank you received: 10
  • Karma: 43
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.
The administrator has disabled public write access.

change min scale 2 years 11 months ago #7223

  • custompdf
  • custompdf's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 14
  • Karma: 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
The administrator has disabled public write access.
Powered by Kunena Forum