Viewer Toolbar

Skip Navigation LinksHome  /  Support  /  Forums  /  DynamicPDF Viewer (v1)  /  Re: Viewer Toolbar

DynamicPDF Viewer (v1) Forum

 Oct 02 2009 11:23 AM
Hi,
I'm currently evaluating PDF viewer for possible usage in our application. The question is. Is there a possibility to display not all but several items in tool bar? For example I want just hide "Open File" and "Print" icons in the tool bar. Is it possible? What are possible workarounds?
 Oct 02 2009 12:43 PM
Posted by a ceTe Software moderator
Hello,

You can use the ShowToolbarButton method of the DynamicPDF Viewer object to hide the buttons within the toolbar.

Thanks,
ceTe Software Support Team
 Nov 28 2009 12:09 PM
hi,
I can not hide the buttons open, save, but if it works with the buttons on hand and select text.

MyPDFViewer.ShowToolbarButton 1, 0 -----> Not Working
MyPDFViewer.ShowToolbarButton 2, 0 -----> Not Working

MyPDFViewer.ShowToolbarButton 30, 0 ---> if it works
please help me
 Nov 30 2009 5:22 AM
Posted by a ceTe Software moderator
Hello,

We are able to hide the toolbar buttons without any problem. Please make sure that you are using the latest build of the product you are using. You can get the latest build from our CustomerArea by logging in using your serial number.

In order to hide the hand and select text tool you will have to use the below code. You can hide all other controls using the index starting from Zero.

VB6 Code:
DynamicPDFViewer1.ShowToolbarButton 28, False
DynamicPDFViewer1.ShowToolbarButton 29, False

Thanks,
ceTe Software Support Team.

All times are US Eastern Standard time. The time now is 6:36 AM.