How to change the scale of a page? - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
13 Jul 2017
Microsoft has ended support for Windows Phone 8.1
Read More...
Questions about Android development and PDF
  • Page:
  • 1

TOPIC: How to change the scale of a page?

How to change the scale of a page? 1 year 8 months ago #12236

  • павбог
  • павбог's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
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

Please Log in or Create an account to join the conversation.

How to change the scale of a page? 1 year 8 months ago #12238

  • nermeen
  • nermeen's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 865
  • Karma: 23
  • Thank you received: 70
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.

Please Log in or Create an account to join the conversation.

How to change the scale of a page? 1 year 8 months ago #12239

  • павбог
  • павбог's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
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?

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum