New to Kendo UI for jQuery? Start a free 30-day trial

PdfjsProcessing

configuration

Specifies the PDF.JS configuration options. Including pdfjs is mandatory.

<div id="pdfviewer"></div>
<script type="module">
    $("#pdfviewer").kendoPDFViewer({
        pdfjsProcessing: {
            file: ""
        }
    });
</script>
Object | String

Specifies the default file to be displayed.

Default: ""

<div id="pdfviewer"></div>
<script type="module">
$("#pdfviewer").kendoPDFViewer({
    pdfjsProcessing: {
        file: {
            url: "https://demos.telerik.com/kendo-ui/content/web/pdfViewer/sample.pdf"
        }
    }
});
</script>

Enables form filling capabilities by rendering widgets such as:

  • TextBox
  • CheckBox
  • DropDown
  • RadioButton
  • Button

Default: false

<div id="pdfviewer"></div>
<script type="module">
$("#pdfviewer").kendoPDFViewer({
    pdfjsProcessing: {
        renderForms: true,
        file: ""
    }
});
</script>