We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Hiding a button in the toolbar of the PDF viewer control

You can show or hide the toolbar icons of the PDF viewer control using the toolbarItem property of the toolbarSettings object. Refer to the following API documentation link for further details about the toolbarItem property. 

https://help.syncfusion.com/api/js/ejpdfviewer#members:toolbarsettings-toolbaritem 

Use the following code snippet to hide print option from the toolbar.

 

Sample link:

http://www.syncfusion.com/downloads/support/directtrac/general/ze/PdfViewerSample-1021564925

You can also show or hide the group of icons in the PDF viewer control toolbar using the following methods: 

Tools

Methods

Download 

showDownloadTool(show) 

Page Navigation 

showPageNavigationTools(show) 

Text Markup Annotation 

showTextMarkupAnnotationTools(show) 

Signature 

showSignatureTool(show) 

Selection 

showSelectionTool(show) 

Magnification 

showMagnificationTools(show) 

 

Article ID: Published Date: Last Revised Date: Platform: Control:
8727 05/04/2018 05/04/2018 JavaScript ejPdfViewer
Did you find this information helpful?
Add Comment
You must log in to leave a comment

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.