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

page width after rotation

More
IP: 192.168.0.71 9 years 4 months ago #12398 by davred
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.
More
IP: 192.168.0.71 9 years 4 months ago #12399 by nermeen
Replied by nermeen on topic page width after rotation
m_doc.GetPageWidth: Returns the original page's width.
The scaled page width =
Code:
m_doc.GetPageWidth(pageno) * m_view.PDFGetScale()
Time to create page: 0.383 seconds
Powered by Kunena Forum