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

vZoomSet method chang the scale value I set

More
10 years 4 months ago #9803 by sekorm
I've tried 3.6beta5 release , but it did not solve the problem.
And I've replied you a mail at [email protected] , please check you mail .

As for the methods you suggested me,
I could not find anywhere to invoke it ,since I found no ways to Get the PDFView, Could you please send me a demo using PDFView to my mail
[email protected] ?!
More
10 years 4 months ago #9806 by Davide
Hi,
I suggest you to look at PDFReader class, you will find m_view.
Here an example of how to use vSetScale method:
Code:
m_view.vSetScale(500, 0, 0);
More
10 years 4 months ago #9827 by sekorm
I've tried it then ,
But when I set the first param value to 1.00005f, It still have a big ZoomIn effect which was not I wanted.,
m_view.vSetScale(1.00005f, 0 , 0);

You can have a try with the pdf I Upload below.
More
10 years 4 months ago #9831 by sekorm
I've tried m_view.vSetScale(0.77f, 0 , 0);
but it also have a zoomIn effect ?!

How do you define the first param of this method 'vSetScale' ?!
More
10 years 4 months ago #9832 by sekorm
I've tried some pdf documents' different pages to test the vSetScale method,
but I still have no idea of how this method work,
even I set a value which was less than 1 , after invoking the vSetScale method, it had a zoomIn effect ,
while I set a value which was greater than 1, it also had a zoomIn effect.......
More
10 years 4 months ago #9833 by Davide
Hi,
each pdf has an own min_scale and you can get it with
Code:
m_view.vGetMinScale();
That's why with some pdf if you set a value the pdf is zoomed and with other pdf no.
So you have to handle the vSetScale value taking into account the min_scale value.
Time to create page: 0.377 seconds
Powered by Kunena Forum