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

SetPageRotate not work?

More
9 years 5 months ago #11104 by netmate
I am a problem

Environment :
develop 3.7 lib.
Android Studio

[SetPageRotate] is not working.

my code is blow

m_doc.SetPageRotate(pageno, -degree);
m_view.vSetScale(0, 0, 0);

or

m_doc.SetPageRotate(pageno, degree);


But, go to other page and return original page,

Page is rotated, but page size is wrong.

...
After Rotate Device, Page size is OK

i want to see , After call "SetPageRotate" api,
see the right page size and rotated page
More
9 years 5 months ago #11116 by nermeen
Replied by nermeen on topic SetPageRotate not work?
Hello,

It's only a problem of re-render, the following code is tested and works in the demo project:
Code:
m_doc.SetPageRotate(pageno, degree); //m_doc.SetPageRotate(pageno, -degree); m_view.vRenderSync(m_layout.vGetPage(pageno));
More
9 years 5 months ago #11120 by netmate
Replied by netmate on topic SetPageRotate not work?
Thank you. It was resolved.
Time to create page: 0.486 seconds
Powered by Kunena Forum