Load PDF without Toolbar
21 Sep 2020 / 1 minute to read
In order to view PDF without the toolbar, make use of PdfDocumentView control instead of PdfViewerControl. Other features and options are similar to 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.