- Posts: 2
- Thank you received: 0
Microsoft Windows Phone 8.1 support ends (13 Jul 2017)
Microsoft has ended support for Windows Phone 8.1
Questions about Android development and PDF
Fitting PDF to width
- mitchelljohnson
- Topic Author
- Offline
- New Member
-
Less
More
9 years 11 months ago #11223
by mitchelljohnson
Fitting PDF to width was created by mitchelljohnson
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?
9 years 11 months ago #11235
by nermeen
Replied by nermeen on topic Fitting PDF to width
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:
To change this you need to comment the following line in vLyout of the PDFLayoutDual or PDFViewDual:
Code:
//if( m_scale_min > scale ) m_scale_min = scale;
- mitchelljohnson
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 2
- Thank you received: 0
9 years 8 months ago #11699
by mitchelljohnson
Replied by mitchelljohnson on topic Fitting PDF to width
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
Thanks
Mitchell
9 years 8 months ago #11700
by support
Replied by support on topic Fitting PDF to width
You should look in your license panel.
Please enter here www.radaeepdf.com/license-control-panel
Please enter here www.radaeepdf.com/license-control-panel
Time to create page: 0.405 seconds