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

TOPIC:

FIT To SCreen 10 years 6 months ago #4241

  • jorisk
  • jorisk's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 37
  • Thank you received: 0
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...
The topic has been locked.

FIT To SCreen 10 years 6 months ago #4242

  • jorisk
  • jorisk's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 37
  • Thank you received: 0
I tried to fit the width with this in PDFReader.onSizeChanged():
m_view.vSetScale(0.635f, 0, 0);

But it works for the width, not for the height, because it simply "zoom" the document...
The topic has been locked.

FIT To SCreen 10 years 6 months ago #4253

  • nermeen
  • nermeen's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 962
  • Thank you received: 87
The topic has been locked.

FIT To SCreen 10 years 6 months ago #4257

  • jorisk
  • jorisk's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 37
  • Thank you received: 0
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.
The topic has been locked.

FIT To SCreen 10 years 5 months ago #4298

  • razvar
  • razvar's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 15
  • Thank you received: 0
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.
Last edit: by x7hlydiz5.
The topic has been locked.

FIT To SCreen 10 years 5 months ago #4437

  • patatafrita
  • patatafrita's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 1
  • Thank you received: 0
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?
The topic has been locked.
Powered by Kunena Forum