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

    Rick Boyer

    Hello,

    I’m evaluating this library to see if it will meet my PDF requirements. I’m trying to get some basic PDF reader functionality working and having problems. I’ve read through all the posts I can find to set the zoom level programmatically, but it doesn’t work.

    I see this example:

    readaerView.changeScale(1.25, mReaderView.getWidth() / 2, mReaderView.getHeight() / 2);
    from: https://plugpdf.com/forum/topic/programmatic-zooming-readerview-changescale/

    But when I try this in my Android app, nothing happens. All I need to do is restore the page and zoom level when the user re-opens a PDF. I’m using the onChangeZoom(double zoomLevel) even to capture the zoom level change (which seems to be working correctly).

    Thanks for

    #11658 Reply

    Dr. Plug
    Moderator

    Hello Rick,

    Thank you for your inquiry.
    Please use the below code. We check the code works fine.

    Our PlugPDF SDK support to restore the page number when the user closed a PDF.
    However, it does not support to restore zoom level.
    You need to implement it.

    If you have any further questions, feel free contact to us.

    Best regards,

    Dr.Plug
    PlugPDF Support

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Trying to set zoom level with changeScale, but it doesn't work
Your information: