toolbar.items Array

The following list indicates the default tools:

  • pager
  • zoom
  • toggleSelection
  • search
  • open
  • download
  • print

For DPL Processing exportAs tool could be configured to export a single page to .png or .svg.

Example - customizing the toolbar items

<div id="pdf-viewer"></div>
<script>
    $("#pdf-viewer").kendoPDFViewer({
        toolbar: {
            items: [
              "pager", "spacer", "open", "download"
            ]
        }
    });
</script>

Example - customizing the pager default tool

<div id="pdf-viewer"></div>
<script>
    $("#pdf-viewer").kendoPDFViewer({
        toolbar: {
            items: [
              { type: "pager", input: false, previousNext: true, command: "PageChangeCommand"}
            ]
        }
    });
</script>

Example - customizing the zoom default tool

<div id="pdf-viewer"></div>
<script>
    $("#pdf-viewer").kendoPDFViewer({
        toolbar: {
            items: [
              { type: "zoom", zoomInOut: true, combobox: { zoomLevels: [50, 100, 200]}, command: "ZoomCommand"}
            ]
        }
    });
</script>
In this article
Not finding the help you need? Improve this article