Load PDF without Toolbar
21 Sep 20201 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.