Announcement

Collapse
No announcement yet.

Create bookmark using Javascript

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • cherry
    replied
    BruceButton

    Please go to "Help"->"About Foxit PhantomPDF" to check the version number and let us know how to reproduce the problem. If specific document is involved, please provide the PDF document as well. Thank you.

    You may also email the problem directly to [email protected]. Thank you.

    Leave a comment:


  • richell_huang
    replied
    Could you please send us the bookmark file sample using javascript for further checking and get back to you? Please send it to [email protected], thank you.

    Leave a comment:


  • BruceButton
    started a topic Create bookmark using Javascript

    Create bookmark using Javascript

    How does one create a bookmark in a pdf document using Javascript?

    I have tried using this code from the Adobe Acrobat SDK documentation:

    Code:
    this.bookmarkRoot.createChild("Next Page", "this.pageNum++");
    However, when I do this in the Javascript console of Foxit Phantom I get

    Code:
    [ Line: 00000 { TypeError } ] : undefined is not a function
    Any help would be appreciated!
Working...
X
😀
🥰
🤢
😎
😡
👍
👎