Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to disable or hide acrobat reader bookmarks panel in winform?

Tags:

c#

acrobat

I'm showing PDF documents in my application using Acrobat ActiveX. I want to know is it possible to disable or hide Bookmarks(and Pages,Search,Comments,Attachments in left of panel) on PDF adobe reader when showing pdf?

like image 681
Ali Ahmadi Avatar asked Apr 15 '12 21:04

Ali Ahmadi


People also ask

How do I turn off Bookmarks in Adobe PDF?

You can now turn off bookmarks by changing the "Navigation Tab" setting. With Adobe Acrobat, you can also remove the bookmarks. To do that, open the bookmarks tab, then highlight one of the highest level bookmarks in the tree, right-click and select to delete the tree underneath this node.

How do I hide the menu bar in Adobe Acrobat?

There is an option to hide the menu bar using the F9 key on the keyboard and Tools bar using the F8 key OR go to View>> Showhide>> Menu bar/Toolbar items. We can hide the menu bar for a specific document by going to the Document Properties>>Initial view>> choose the options that you want to hide.


1 Answers

I hope that will help you.

// load pdf file
viewer.LoadFile(somePath);
// hide top toolbar
viewer.setShowToolbar(false);
// hide navigation bar
viewer.setPageMode("none");

'viewer' is ActiveX control from Adobe Reader (AcroPDFLib).

like image 106
Artyom Avatar answered Sep 20 '22 17:09

Artyom