RadaeePDF.com :: Topic: Fitting PDF to width (1/1)
Welcome, Guest
Username: Password: Remember me

Signin/Signup with:

Questions about Android development and PDF

TOPIC: Fitting PDF to width

Fitting PDF to width 7 months 6 days ago #11223

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?
The administrator has disabled public write access.

Fitting PDF to width 7 months 3 days ago #11235

  • nermeen
  • nermeen's Avatar
  • OFFLINE
  • Moderator
  • Posts: 588
  • Thank you received: 26
  • Karma: 18
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;
The administrator has disabled public write access.

Fitting PDF to width 3 months 2 weeks ago #11699

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
The administrator has disabled public write access.

Fitting PDF to width 3 months 2 weeks ago #11700

  • support
  • support's Avatar
  • OFFLINE
  • Administrator
  • Posts: 461
  • Thank you received: 34
  • Karma: 6
You should look in your license panel.
Please enter here www.radaeepdf.com/license-control-panel
The administrator has disabled public write access.
Powered by Kunena Forum