Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about Android development and PDF
  • Page:
  • 1

TOPIC:

Fitting PDF to width 7 years 6 months ago #11223

  • mitchelljohnson
  • mitchelljohnson's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • 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 7 years 6 months ago #11235

  • nermeen
  • nermeen's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 962
  • Thank you received: 87
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 7 years 3 months ago #11699

  • mitchelljohnson
  • mitchelljohnson's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • 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 7 years 3 months ago #11700

  • support
  • support's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 692
  • Thank you received: 59
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