Skip to main content

Customizing the Viewer Layout

Version: 1.0

Customizing the Viewer Layout

The DynamicPDF Viewer window can be customized so only the elements that you want to appear will be visible on the control. You can even set it so that only the PDF viewing portion is visible and create your own buttons and toolbars to control navigation for the user. This code will cause only the PDF viewing window and title bar to be displayed.

The below example assume that the DynamicPDF Viewer control's name in C# is pdfViewer and in VB.NET is MyPdfViewer.

pdfViewer.Open(@"C:\\MyDocument.pdf");
pdfViewer.ShowBookmarkIcon = false;
pdfViewer.ShowThumbnailIcon = false;
MyPdfViewer.Open("C:\MyDocument.pdf")
MyPdfViewer.ShowBookmarkIcon = False
MyPdfViewer.ShowThumbnailIcon = False
Documentation version