prevent selection of multiple bookmarks

PDF-XChange Editor SDK for Developers

Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan

Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.

When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
Post Reply
jusWest
User
Posts: 150
Joined: Fri Aug 24, 2018 8:26 am

prevent selection of multiple bookmarks

Post by jusWest »

Hi!

probably an easy solution or I am missing something.

Is there a setting for preventing selection of multiple bookmarks in the bookmarks pane?

Regards
Ronny
jusWest
User
Posts: 150
Joined: Fri Aug 24, 2018 8:26 am

Re: prevent selection of multiple bookmarks

Post by jusWest »

anyone got any hints?
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: prevent selection of multiple bookmarks

Post by Sasha - Tracker Dev Team »

Hello Ronny,

That's easy doable. You will have to remove the Multiple Selection flag from the Bookmarks View object:

Code: Select all

IUIX_Obj obj = pdfCtl.Doc.ActiveView.BookmarksView.Obj;
obj.SetStyle(0, (long)UIX_TreeStyleFlags.UIX_TreeStyle_MultSel);
Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
jusWest
User
Posts: 150
Joined: Fri Aug 24, 2018 8:26 am

Re: prevent selection of multiple bookmarks

Post by jusWest »

great, thank you :)
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17901
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: prevent selection of multiple bookmarks

Post by Tracker Supp-Stefan »

:D
Post Reply