Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Hiding Adobe Toolbars, menubars, scrollbar, etc

Tags:

vb.net

acrobat

I am using the "Adobe Acrobat 7.0 Browser Control Type Library 1.0" control to view PDF's in my vb.net application. I want it to show just the PDF with no menus and toolbars. I have used the following code:

AxAcroPDF1.LoadFile("C:\ShippingForm.pdf")
AxAcroPDF1.src = "C:\ShippingForm.pdf"
AxAcroPDF1.setShowToolbar(False)
AxAcroPDF1.setView("fitH")
AxAcroPDF1.setLayoutMode("SinglePage")
AxAcroPDF1.setShowScrollbars(False)

AxAcroPDF1.Show()

I am still getting the Navigation Panel on the left side of the panel. Does anybody have information on which method would disable this or maybe a list of all the methods? A google search didn't get me anywhere.

like image 236
flip66 Avatar asked Dec 16 '11 15:12

flip66


People also ask

How do I hide the toolbar in Adobe?

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.

How do I unhide an Adobe toolbar?

Press the F9 key for the Menu bar and F8 key for Tools bar to unhide/hide the toolbar items. You can also change the settings from the Adobe Reader' Preferences Edit>Preferences>Full screen>select 'Show Navigation bar'>Click OK.


1 Answers

I believe that you need:

AxAcroPDF1.setPageMode("none")

This turns off thumbnails and bookmarks.

There is a decent reference document located here.

like image 84
Stewbob Avatar answered Sep 25 '22 10:09

Stewbob