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

TOPIC:

Fit both Portrait and Landscape Pages to page 6 years 8 months ago #12656

  • Gayathri
  • Gayathri's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 12
  • Thank you received: 0
Hi,
I have pdf with both portrait and landscape pages. I want them to fit to screen.
If I try to fix this issue by making changes to m_scale in vLayout() -PDFViewvert, both portrait and landscape pages get fit to the reader.
But here comes another issue. when we do pinch to zoom, only portrait pages are zoomed and not landscape pages. Landscape pages does not zoom.
How can I achieve both fit to page and zoom work for such pdf documents.
For sample documents, please find my ticket - www.radaeepdf.com/my-profile/my-tickets?...t=view&ticketid=1677
Your solution at the earliest will be helpful.
Thank You

Please Log in or Create an account to join the conversation.

Fit both Portrait and Landscape Pages to page 6 years 8 months ago #12663

  • nermeen
  • nermeen's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 962
  • Thank you received: 87
To achieve your goal, you must have used an array of scales instead of one variable m_scale.
Make sure that you are reflecting the modifications done to vLayout also while zooming.

If you still facing issues, can you send us a sample project with your modifications?

Note; PDFView is deprecated since September 2016 we recommend the usage of PDFLayout instead it has better performance on memory and time.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum