Fitting PDF to width - 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: Fitting PDF to width

Fitting PDF to width 1 year 5 months ago #11223

  • mitchelljohnson
  • mitchelljohnson's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
I have an issue with the Android SDK. I have a square view that I would like to display the pdf full width in single page horizontal scrolling. However using the single page option in the Dual view it fits the pdf to the height, not the width. Is there an out of the box way to fix this issue? The iOS SDK supports it but not the Android?

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

Fitting PDF to width 1 year 4 months ago #11235

  • nermeen
  • nermeen's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 754
  • Karma: 20
  • Thank you received: 55
The default behavior of the single/dual mode is to fit by the screen height.

To change this you need to comment the following line in vLyout of the PDFLayoutDual or PDFViewDual:
//if( m_scale_min > scale ) m_scale_min = scale;

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

Fitting PDF to width 1 year 1 month ago #11699

  • mitchelljohnson
  • mitchelljohnson's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Thank you for your response. I dont see where I can download the source for the library so that I can change that file. I have the professional licence but dont see a download source option?
Thanks
Mitchell

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

Fitting PDF to width 1 year 1 month ago #11700

  • support
  • support's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 525
  • Karma: 6
  • Thank you received: 43
You should look in your license panel.
Please enter here www.radaeepdf.com/license-control-panel

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

  • Page:
  • 1
Powered by Kunena Forum