Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #4701 Reply

    alex

    Hi,
    How can I manually set the zoom level of a document being viewed?
    I can’t find any suitable method in ReaderView or Document class.
    Thanks

    #4708 Reply

    Dr. Plug
    Moderator

    Hi Alex,

    You can do it by using changeScale(…) in ReaderView class. In case of zooming in, you can set like changeScare(1.25, 1, 1), while it can be set like changeScale(0.85, 1, 1) in the opposite case.

    Thank you!

    • This reply was modified 2 years ago by  Dr. Plug.
Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Zooming programmatically
Your information: