Hiding Navigation Pane in Adobe Reader Programmatically

> Edraw Tip > Hiding Navigation Pane in Adobe Reader Programmatically
author
Posted by James Freeman |
With PDF viewer component, it is easy for the developers to hide navigation Pane in Adobe Reader Programmatically.

Is there any way to hide the adobe reader navigation pane programmatically?

Yes, the component has the property "NavPanes". Simply set it as false before the developers call the LoadFrom method.

hide pdf navigate pane

If you haven't the pdf viewer component, you need to install the package firstly. With the activex control, you are not only able to view PDF documents, but also able to disable print, disable copy, disable edit and change the pdf window options. The control is lightweight and flexible, and gives developers new possibilities for using PDF in a custom solution.

The developer can use the following code to show / hide adobe reader navigate panel in the Form_Load Event.

Private Sub OpenPDF_Click()
With CommonDialog1
.DefaultExt = "pdf"
.Filter = "PDF File Formats (*.pdf)|*.pdf|All Files (*.*) | *.* ||"
.FilterIndex = 1
End With
CommonDialog1.ShowOpen

PDFViewer1.NavPanes = False
PDFViewer1.LoadFile CommonDialog1.FileName
End Sub

With the PDF viewer component, you are not only able to view PDF documents, but also able to disable print, disable copy, disable edit and change the pdf window options.

It allows developers to embed pdf files for in-place editing and viewing. It can be easily integrated into applications written in languages that support ActiveX control such as Visual C++, Microsoft Internet Explorer, Visual Basic, Delphi, WPF, C#, VB.NET, C++ Builder and Net languages.

download EdrawMind
main page

Get Started! You Will Love This Easy-To-Use Diagram Software

EdrawMax is an advanced all-in-one diagramming tool for creating professional flowcharts, org charts, mind maps, network diagrams, UML diagrams, floor plans, electrical diagrams, science illustrations, and more. Just try it, you will love it!