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?
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.
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.
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).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With