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. Image for the cookie policy date

Hide certain tool on pdfviewer

Hi Syncfusion team,

How to hide certain tool in toolbar?

I want to high the yellow highlighted part. Thanks.

3 Replies

CK Chinnamunia Karthik Chinna Thambi Syncfusion Team May 4, 2023 10:59 AM UTC

We have shared the code snippet and sample to hide the highlighted items in the screenshot.

Code snippet:


<ejs-pdfviewer id="pdfviewer" style="height:600px"

    toolbarSettings="@(new Syncfusion.EJ2.PdfViewer.PdfViewerToolbarSettings { ShowTooltip = true, ToolbarItems = "[OpenOption, UndoRedoTool, PageNavigationTool, MagnificationTool, PanTool, SelectionTool, SubmitForm, SearchOption, PrintOption, DownloadOption]"})"

    serviceUrl="/Index" documentPath="SamplePdfFile (1).pdf">


Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/CustomizeToolbarItems21.1.41919065166.zip

Please refer the below documentation for further assistance.


JD Jinchuan DU May 10, 2023 09:41 AM UTC

Hi  Chinnamunia,

It works perfectly. Thanks.


CK Chinnamunia Karthik Chinna Thambi Syncfusion Team May 11, 2023 04:42 AM UTC

Thanks for the update.


We are closing this forum.

Live Chat Icon For mobile
Up arrow icon