pdfdoc.SetBookmark Only Goes Deeper

If you are a VB developer and have questions about using our products from VB, here is the place to post them.
Post Reply
ixm7
Posts: 14
Joined: Tue Apr 29 2003

pdfdoc.SetBookmark Only Goes Deeper

Post by ixm7 »

Using VB and the Common Driver Interface dll
The following code:
-------------------------------------------------
pdfdoc.SetBookmark 1, "Animal", 0
pdfdoc.SetBookmark 1, "Cat", 1
pdfdoc.SetBookmark 2, "Dog", 1
pdfdoc.SetBookmark 1, "Mineral", 0
--------------------------------------------------
Results in a Bookmark Hierarchy that only goes deeper:
---------------------
Animal
___Cat
_______Dog
_______Mineral
---------------------
instead of
---------------------
Animal
___Cat
___Dog
Mineral
---------------------

Any hints on how to enforce the intended hierarchy levels?

Thanks,
- Ido
ixm7
Posts: 14
Joined: Tue Apr 29 2003

Post by ixm7 »

Please ignore. I believe I found the soulution.

Thanks,
- Ido
Post Reply