Hide "open" button

Hide "open" button

Forum member · Jan 18, 2019
Howdy, I just found your pdf viewer, and it's the best that exists on the market!! thanks for making it available for free. For me, to make it 100% perfect, i just need to hide ou inactive the "open" button, is this possible? The pdf files are being loaded automaticaly om the form load. Thanks in advanced, Jorge Bastos

Re: Hide "open" button

Support · Jan 18, 2019
Hello Jorge, Yes, you can hide the Open in the toolbar by seting the Visible property of the toolbar item to false. Below is the code sample to hide the Open button in the Viewer toolbar. ToolStrip toolbar = (ToolStrip)pdfViewer1.Controls[ "viewertoolbar" ]; string str = toolbar.Items[0].Name; toolbar.Items[0].Visible = false; You can also replace the toolbar if you want to customize this further. Also please note that DynamicPDF Viewer for .NET is only free to use in evaluation mode and that we add an evaluation watermark on the PDFs. In order to remove the watermark, you will need to purchase a license and add the license key to the application. You can refer to the documentation on licensing and pricing details on our website here . Thanks, ceTe Software Support Team