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

More
IP: 192.168.0.71 11 years 4 months ago #7225 by radaee
Replied by radaee on topic change min scale
use single view mode.
set def_view = 3; in Global.default_config();
More
IP: 192.168.0.71 11 years 4 months ago #7227 by custompdf
Replied by custompdf on topic change min scale
I do!
But still the pdf page is on the left corner.
dl.dropboxusercontent.com/u/23323670/Bil...%20um%2011.14.29.png
More
IP: 192.168.0.158 11 years 4 months ago #7240 by nermeen
Replied by nermeen on topic change min scale
The vertical layout (def_view = 0), fits based on the view width
The horizontal layout (def_view = 1), fits based on the view height (aligned to the left)
The single layout (def_view = 3), fits based on the view width and height (centered)

As what you need, the single layout should work..

You can also check, PDFView.vCenterPage(int) vLayout (of the different views)
More
IP: 192.168.0.71 11 years 3 months ago #7313 by custompdf
Replied by custompdf on topic change min scale
As i told you:
I'm using single view mode.

set def_view = 3; in Global.default_config();

and if i call get dev view it returns 3.
But still - its not centered..
More
10 years 10 months ago #8618 by alexander.gustke
Replied by alexander.gustke on topic change min scale
same problem here:

i am using for a pdf with only one page the single layout (def_view = 3), but content is still cropped at the bottom in portrait mode. I use the sample project (3.3.14).

The important fact: it only happens on a nexus 9 (4:3 - screen ratio).

So any suggestions?
More
10 years 10 months ago #8642 by alexander.gustke
Replied by alexander.gustke on topic change min scale
any updates?
Time to create page: 0.405 seconds
Powered by Kunena Forum