Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #6669 Reply

    coder

    Hi,
    How can i open the pdf at certain page that user left before?
    is there a property?

    thanks…

    #6677 Reply

    Dr. Plug
    Moderator

    Hello Coder,

    yes it is possible. I am attaching the simple code to achieve this functionality.

    Thank you for supporting plugPdf.
    Cheers,
    Dr. Plug

    • This reply was modified 1 year, 9 months ago by  Dr. Plug.
    • This reply was modified 1 year, 9 months ago by  Dr. Plug.
    #6719 Reply

    Jhonny

    Hi This piece of code we put it where ?
    Cheers

    #6728 Reply

    Dr. Plug
    Moderator

    Hello Jhonny,

    Its a property so set it when you use Reader class and you can set in onCreate() function.
    Don not forget to include “import com.epapyrus.plugpdf.core.viewer.ReaderView”

    In case you have any other questions please feel free to contact.

    Thank you
    Dr. Plug

    #9541 Reply

    Jose Bravo

    Hello,

    Does it work if the document was opened using the openData method from SimpleReaderFactory rather than the openFile method? If not, how can I achieve this using the openData method?

    thanks,

    #9548 Reply

    Dr. Plug
    Moderator

    Hello Jhonny,

    Thank you for inquiry.

    Do you want to open a PDF using a byte array?
    Actually in PDFDocument, there is a method.
    if you used below method, you can open a PDF file using a data.

    Best Regards,
    Dr.Plug

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: Android – Open at certain page where the user left.
Your information: