Opening the bookmarkstree programmatically

Discussions about document viewing.
Post Reply
bazzz
Posts: 7
Joined: Tue Jan 29, 2013 5:40 pm

Opening the bookmarkstree programmatically

Post by bazzz » Tue Jun 25, 2013 9:43 am

Hi,


after opening a PDF document, the associated bookmarkstree control just shows the first node (the main bookmarks-entry). Is it possible to open that tree programmatically so that the first or second level of childnodes are directly visible to the user without expanding the tree by mouse/keyboard?


Thanks!

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: Opening the bookmarkstree programmatically

Post by Loïc » Tue Jun 25, 2013 11:37 am

Hello,

Is that the ExpandAll() method do the trick?

Kind regards,

Loïc

bazzz
Posts: 7
Joined: Tue Jan 29, 2013 5:40 pm

Re: Opening the bookmarkstree programmatically

Post by bazzz » Tue Jun 25, 2013 11:55 am

Hi,

that helped... somehow I oversaw that method... BUT in my PDF documents it does not open the whole bookmarks hierarchy, just the first layer of nodes (first child-node hierarchy). I can still click on many plusses [+] to go deeper in the hierarchy. The docs say it expands every node, which it does not in my PDFs.

I'm using 9.4.0.9 atm, should I upgrade to the latest version?

Thanks & rgds

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest