- Posts: 14
- Thank you received: 0
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
10 years 4 months ago #9803
by sekorm
Replied by sekorm on topic vZoomSet method chang the scale value I set
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] ?!
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] ?!
10 years 4 months ago #9806
by Davide
Replied by Davide on topic vZoomSet method chang the scale value I set
Hi,
I suggest you to look at PDFReader class, you will find m_view.
Here an example of how to use vSetScale method:
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);
10 years 4 months ago #9827
by sekorm
Replied by sekorm on topic vZoomSet method chang the scale value I set
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.
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.
10 years 4 months ago #9831
by sekorm
Replied by sekorm on topic vZoomSet method chang the scale value I set
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' ?!
but it also have a zoomIn effect ?!
How do you define the first param of this method 'vSetScale' ?!
10 years 4 months ago #9832
by sekorm
Replied by sekorm on topic vZoomSet method chang the scale value I set
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.......
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.......
10 years 4 months ago #9833
by Davide
Replied by Davide on topic vZoomSet method chang the scale value I set
Hi,
each pdf has an own min_scale and you can get it with
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.
each pdf has an own min_scale and you can get it with
Code:
m_view.vGetMinScale();
So you have to handle the vSetScale value taking into account the min_scale value.
Time to create page: 0.377 seconds