- Posts: 37
- 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
FIT To SCreen
IP: 192.168.0.70
12 years 11 months ago #4241
by jorisk
Replied by jorisk on topic FIT To SCreen
Any "UP" on this? I also want to fit a PDF document to the width and height, even if it doesn't respect the ratio, but I cannot find a way to do it in the 2.9.0 version. I also tried to act on PDFViewVert, but it doesn't work...
IP: 192.168.0.70
12 years 11 months ago #4242
by jorisk
Replied by jorisk on topic FIT To SCreen
I tried to fit the width with this in PDFReader.onSizeChanged():
But it works for the width, not for the height, because it simply "zoom" the document...
Code:
m_view.vSetScale(0.635f, 0, 0);
But it works for the width, not for the height, because it simply "zoom" the document...
IP: 192.168.0.152
12 years 11 months ago #4253
by nermeen
Replied by nermeen on topic FIT To SCreen
The answer in the following links is working, did you check them??
www.androidpdf.mobi/forum/Android-develo...1-fit-to-screen#3944
www.androidpdf.mobi/forum/Android-develo...-center?start=6#4067
www.androidpdf.mobi/forum/Android-develo...1-fit-to-screen#3944
www.androidpdf.mobi/forum/Android-develo...-center?start=6#4067
IP: 192.168.0.70
12 years 11 months ago #4257
by jorisk
Replied by jorisk on topic FIT To SCreen
Unfortunately, it doesn't do the trick for me... It moves the PDF but it doesn't fit it and then the scroll is not good working.
IP: 192.168.0.70
12 years 11 months ago - 12 years 11 months ago #4298
by razvar
Replied by razvar on topic FIT To SCreen
Hi,
I'm also looking for this, to be able to fit on height, and display the pages as Polaris Office does, allowing to zoom out more on the page. I'm a registered developer (pro version) and I'm using PDFViewVert com.radaee.reader.PDFReader / com.radaee.view.PDFView for rendering. It will be really nice and more user friendly to not just fit the page to screen Width and allow space like double View page does but for a single page.
Please help us out with a quick solution.
Thanks a lot for all your hard work and continuous support.
I'm also looking for this, to be able to fit on height, and display the pages as Polaris Office does, allowing to zoom out more on the page. I'm a registered developer (pro version) and I'm using PDFViewVert com.radaee.reader.PDFReader / com.radaee.view.PDFView for rendering. It will be really nice and more user friendly to not just fit the page to screen Width and allow space like double View page does but for a single page.
Please help us out with a quick solution.
Thanks a lot for all your hard work and continuous support.
Last edit: 12 years 11 months ago by x7hlydiz5.
- patatafrita
- Offline
- New Member
-
Less
More
- Posts: 1
- Thank you received: 0
IP: 192.168.0.70
12 years 10 months ago #4437
by patatafrita
Replied by patatafrita on topic FIT To SCreen
Very same problem here... whatever I do I can change the size of the page but the frame it is shown in always makes it compolsory to scroll to view all the page. any way to just fit all the page and no need to scroll?
Time to create page: 0.419 seconds