- Posts: 14
- Thank you received: 0
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
change min scale
IP: 192.168.0.71
11 years 4 months ago #7211
by custompdf
change min scale was created by custompdf
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.
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.
IP: 192.168.0.158
11 years 4 months ago #7214
by nermeen
Replied by nermeen on topic change min scale
If you have a professional or premium license, you can change how the scale is calculated in PDFViewVert.vLayout
IP: 192.168.0.71
11 years 4 months ago #7216
by custompdf
Replied by custompdf on topic change min scale
We have a premium license from another project yes. Where can i get the source then?
IP: 192.168.0.158
11 years 4 months ago #7218
by nermeen
Replied by nermeen on topic change min scale
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…
Enter Order Reference and PIN then Order Status, then choose the correct wrapper from the Available releases drop box…
IP: 192.168.0.71
11 years 4 months ago #7219
by radaee
Replied by radaee on topic change min scale
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.
if the view is not full screen, m_scale_min shall changes.
IP: 192.168.0.71
11 years 4 months ago #7223
by custompdf
Replied by custompdf on topic change min scale
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
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
Time to create page: 0.415 seconds