Disable Bookmark options

A forum for questions or concerns related to the PDF-XChange Core API SDK

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, 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
bpatel
User
Posts: 42
Joined: Thu Jan 05, 2017 4:53 pm

Disable Bookmark options

Post by bpatel »

Hi,

I have a PDF file that I open in the PDF-XChange Editor control embedded into a Windows form.
Could you please let me know how can I disable the bookmark options (right-click on the Bookmarks pane - BookmarkOptions_1.PNG) programmatically using code so that the users are not allowed to modify the PDF file in any way. In the attached file (BookmarkOptions_1.PNG) I would like to disable all the items through code. I still need to allow clicking on the bookmarks and be navigated to the associated page.

Also when right-clicking on the PDF document itself (Options_2.PNG) I would like the following options to be disabled through code:
- Add Bookmark
- Add Sticky Note
- Add Link
- Cut
- Copy
- Paste
- Delete

Basically I am looking to make the PDF file as read-only.

Thanks,
Bijalkumar D. Patel
Sr. Software Developer
Logistics Health Inc.
Attachments
Options_2.PNG
BookmarkOptions_1.PNG
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Disable Bookmark options

Post by Sasha - Tracker Dev Team »

Hello bpatel,

Please post in the thread that is correspondent to your question so we can advice you further.

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
bpatel
User
Posts: 42
Joined: Thu Jan 05, 2017 4:53 pm

Re: Disable Bookmark options

Post by bpatel »

Hi Alex,

Would it be the "PDF-XChange Editor SDK" forum?

Thanks,
Bijalkumar D. Patel
Sr. Software Developer
Logistics Health Inc.
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Disable Bookmark options

Post by Sasha - Tracker Dev Team »

Hello bpatel,

Yes that is the place.

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
bpatel
User
Posts: 42
Joined: Thu Jan 05, 2017 4:53 pm

Re: Disable Bookmark options

Post by bpatel »

Thanks! I have posted it to the right forum now.

Thanks,
Bijalkumar D. Patel
Sr. Software Developer
Logistics Health Inc.
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Disable Bookmark options

Post by Sasha - Tracker Dev Team »

And I replied you there :)

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
Post Reply