Announcement

Collapse
No announcement yet.

Create bookmark using Javascript

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • 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!

  • #2
    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.

    Comment


    • #3
      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.

      Comment

      Working...
      X
      😀
      🥰
      🤢
      😎
      😡
      👍
      👎