page width after rotation - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
13 Jul 2017
Microsoft has ended support for Windows Phone 8.1
Read More...
Questions about Android development and PDF
  • Page:
  • 1

TOPIC: page width after rotation

page width after rotation 1 year 6 months ago #12398

  • davred
  • davred's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 0
How i can get page width after landscape rotation (the document is resized to fit view)? If i call m_doc.GetPageWidth i get always the same value as in portrait mode.

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

page width after rotation 1 year 6 months ago #12399

  • nermeen
  • nermeen's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 865
  • Karma: 23
  • Thank you received: 70
m_doc.GetPageWidth: Returns the original page's width.
The scaled page width =
m_doc.GetPageWidth(pageno) * m_view.PDFGetScale()

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

  • Page:
  • 1
Powered by Kunena Forum