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

Doc. height is fix , but PDFlayoutview small/large

More
10 years 2 months ago #10880 by moontech
My document height is fix that is 792, i set this height to PDFlayoutview dynamically , but the page inside PDFlayoutview not get resize according to diaplay.
In small device displaying 1 and half page.
In large device displaying 1 page in large size.
How to get display page height to 792 in PDFlayoutview, because document height is 792 ?
More
10 years 2 months ago #10886 by nermeen
The PDFLayoutView calculates the scale to fit the page according to the view-mode used (horizontal, vertical, single or dual) (check def_view in Global.default_config).

To change this behavior, you need to override PDFLayout.vLayout, you need to recaluclate the scale parameters based on the height you want.
Time to create page: 0.395 seconds
Powered by Kunena Forum