- Posts: 100
- 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
how to overide vOnZoomEnd() method
- asliyanage
- Topic Author
- Offline
- User is blocked
-
Less
More
IP: 192.168.0.71
12 years 1 month ago #7384
by asliyanage
how to overide vOnZoomEnd() method was created by asliyanage
I need to overide the vOnZoomEnd() and increase the zoom facility.Can i have any example for this ?
IP: 192.168.0.158
12 years 1 month ago #7389
by nermeen
Replied by nermeen on topic how to overide vOnZoomEnd() method
First: to override vOnZoomEnd() you need to subclass PDFView
Second: vOnZoomEnd() is called after the zoom operation is finished.
Third: if you mean by increase zoom facility, increasing zoom max value, then you need to change the value of Global.zoomLevel in Global.default_config()
Second: vOnZoomEnd() is called after the zoom operation is finished.
Third: if you mean by increase zoom facility, increasing zoom max value, then you need to change the value of Global.zoomLevel in Global.default_config()
- asliyanage
- Topic Author
- Offline
- User is blocked
-
Less
More
- Posts: 100
- Thank you received: 0
IP: 192.168.0.71
12 years 1 month ago #7391
by asliyanage
Replied by asliyanage on topic how to overide vOnZoomEnd() method
can you please provide an example ?
IP: 192.168.0.156
12 years 1 month ago - 12 years 1 month ago #7392
by Davide
Replied by Davide on topic how to overide vOnZoomEnd() method
Hi,
try to increase (max value is 5) the zoomLevel parameter in default_config() void in Global class..
try to increase (max value is 5) the zoomLevel parameter in default_config() void in Global class..
Last edit: 12 years 1 month ago by poudel.
- asliyanage
- Topic Author
- Offline
- User is blocked
-
Less
More
- Posts: 100
- Thank you received: 0
IP: 192.168.0.71
12 years 1 month ago #7393
by asliyanage
Replied by asliyanage on topic how to overide vOnZoomEnd() method
when the page is zoom in its maximum, if i double click, i need it to zoom out.how to do this?
- asliyanage
- Topic Author
- Offline
- User is blocked
-
Less
More
- Posts: 100
- Thank you received: 0
IP: 192.168.0.71
12 years 1 month ago #7395
by asliyanage
Replied by asliyanage on topic how to overide vOnZoomEnd() method
maximum vbalue is no 5.I change the zoomLevel value to 10 and its working fine.
Time to create page: 0.375 seconds