Doc. height is fix , but PDFlayoutview small/large - 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: Doc. height is fix , but PDFlayoutview small/large

Doc. height is fix , but PDFlayoutview small/large 2 years 4 months ago #10880

  • moontech
  • moontech's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 80
  • Thank you received: 0
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 ?

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

Doc. height is fix , but PDFlayoutview small/large 2 years 3 months ago #10886

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

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

  • Page:
  • 1
Powered by Kunena Forum