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

How to change the scale of a page?

More
IP: 192.168.0.71 9 years 5 months ago #12236 by павбог
How to change the scale of a page?
I found Global.zoom Level =15, and i i changed the number to 50 and my page does not
Expanded on the screen and remained A4 format
More
IP: 192.168.0.71 9 years 5 months ago #12238 by nermeen
Global.zoomLevel is the max zoom level i.e. 15 means 15x(2000%) zooming.

The page scale is calculated based on the pdf's max page size (width and height) and the view mode (vertical, single, double)
To change the scale of the page, you need to change the calculations done in the vLayout of the needed mode (PDFLayoutDual or PDFLayoutVert)
You may need to calculate the scale for every page based on its height/width, and save it into an array for example.
More
IP: 192.168.0.71 9 years 5 months ago #12239 by павбог
PDFLayoutDual or PDFLayoutVert) I want to set a permanent size so that all pdf documents regardless of the size were Stretch the width of the screen.
How to implement it?
Time to create page: 0.411 seconds
Powered by Kunena Forum