Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #11563 Reply

    Lenci

    Is it possible to pre-load/cache next and previous pages of a pdf? Because if I navigate from goToPage() method (the pdf contains “next/previous” annotations), the loading is ugly and slow?

    #11564 Reply

    Lenci

    Or is it possible to disable slide animation when calling goToPage()?

    #11574 Reply

    Dr. Plug
    Moderator

    Hello Lenci,

    Thank you for your patience.
    When our PlugPDF draw a some pdf page, it also draw previous and next pages.
    I cannot understand what you mean by “is it possible to disable slide animation when calling goToPage()?”.
    Can you please be more specific about that?

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

    Best regards,

    Dr.Plug
    PlugPDF Support

    #11576 Reply

    Lenci

    I call goToPage() from code in AnnotEventListener (I have annotations for next and previous pages) and going to the page seems like I have swiped the page to the side manually (the page jumps to the side and immediately to the center before loading). I have FitType.Minimum set and I have some empty space on both sides because of that, and that “swipe” animation makes it ugly.

    Also this happens when I have a small pdf, on a pdf that has for ex. 100 pages, I cannot see this, then the page remains at center at reloads the next/previous page.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Pre-load pages
Your information: