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

More
IP: 192.168.0.71 11 years 4 months ago #7384 by asliyanage
I need to overide the vOnZoomEnd() and increase the zoom facility.Can i have any example for this ?
More
IP: 192.168.0.158 11 years 4 months ago #7389 by nermeen
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()
More
IP: 192.168.0.71 11 years 4 months ago #7391 by asliyanage
can you please provide an example ?
More
IP: 192.168.0.156 11 years 4 months ago - 11 years 4 months ago #7392 by Davide
Hi,
try to increase (max value is 5) the zoomLevel parameter in default_config() void in Global class..
Last edit: 11 years 4 months ago by poudel.
More
IP: 192.168.0.71 11 years 4 months ago #7393 by asliyanage
when the page is zoom in its maximum, if i double click, i need it to zoom out.how to do this?
More
IP: 192.168.0.71 11 years 4 months ago #7395 by asliyanage
maximum vbalue is no 5.I change the zoomLevel value to 10 and its working fine.
Time to create page: 0.469 seconds
Powered by Kunena Forum