New Forum | Previous | Next | (P-PDF) Developers
Topic: Bookmark children in vb
Conf: (P-PDF) Developers, Msg: 71452
Date: 8/29/2002 08:00 AM
I have successfully created an initial bookmark in my document. However, I need to know how to create children from the root bookmark. Here is what I have so far, any help is appreciated.
Dim pddoc As Acrobat.CAcroPDDoc
Set pddoc = CreateObject("acroexch.pddoc")
Set jsoobj = pddoc.GetJSObject
Set bmk = jsoobj.bookmarkroot
bmk.createchild "Test Bookmark", "this.pageNum=3", 0
pddoc.Save 1, "c:\windows\desktop\combine_pdf\test2.pdf"