how to overide vOnZoomEnd() method - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
13 Jul 2017
Microsoft has ended support for Windows Phone 8.1
Read More...
Questions about Android development and PDF
  • Page:
  • 1
  • 2

TOPIC: how to overide vOnZoomEnd() method

how to overide vOnZoomEnd() method 3 years 6 months ago #7384

  • asliyanage
  • asliyanage's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 100
  • Thank you received: 0
I need to overide the vOnZoomEnd() and increase the zoom facility.Can i have any example for this ?
The topic has been locked.

how to overide vOnZoomEnd() method 3 years 6 months ago #7389

  • nermeen
  • nermeen's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 788
  • Karma: 20
  • Thank you received: 58
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()
The topic has been locked.

how to overide vOnZoomEnd() method 3 years 6 months ago #7391

  • asliyanage
  • asliyanage's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 100
  • Thank you received: 0
can you please provide an example ?
The topic has been locked.

how to overide vOnZoomEnd() method 3 years 6 months ago #7392

  • Davide
  • Davide's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 773
  • Karma: 16
  • Thank you received: 60
Hi,
try to increase (max value is 5) the zoomLevel parameter in default_config() void in Global class..
Last Edit: by poudel.
The topic has been locked.

how to overide vOnZoomEnd() method 3 years 6 months ago #7393

  • asliyanage
  • asliyanage's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 100
  • Thank you received: 0
when the page is zoom in its maximum, if i double click, i need it to zoom out.how to do this?
The topic has been locked.

how to overide vOnZoomEnd() method 3 years 6 months ago #7395

  • asliyanage
  • asliyanage's Avatar Topic Author
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 100
  • Thank you received: 0
maximum vbalue is no 5.I change the zoomLevel value to 10 and its working fine.
The topic has been locked.
  • Page:
  • 1
  • 2
Powered by Kunena Forum