How to load PDF without ToolStrip in WinForms PDF Viewer

14 Aug 20261 minute to read

In order to view the PDF without the toolbar, make use of the PdfDocumentView control instead of the PdfViewerControl as described in the section. Other features are similar to the PdfViewerControl.

PdfDocumentView pdfDocumentView1 = new PdfDocumentView();
pdfDocumentView1.Load("Sample.pdf");
Dim pdfDocumentView1 As New PdfDocumentView()
pdfDocumentView1.Load("Sample.pdf")

The following is the image of a PDF document viewed in PdfDocumentView.

Load PDF Without Toolstrip in Windows PDF Viewer