Displays the file passed as a parameter in the PDFViewer. Currently, supported only for PDFJS Processing.

To run the below example, open it in Dojo


    <script src=""></script>
        window.pdfjsLib.GlobalWorkerOptions.workerSrc = '';

    <div id="example">
        <div class="box">
            <div class="box-col">
                <h4>Load File</h4>
                <ul class="options">
                        <button class="k-button" id="loadFile" type="button">Load</button>
        <div id="pdfViewer">

        $(document).ready(function () {

            var pdfViewer = $("#pdfViewer").kendoPDFViewer({
                pdfjsProcessing: {
                    file: ""     },
                width: "100%",
                height: 700

            $("#loadFile").click(function () {
                pdfViewer.fromFile(" Does Kendo UI Cut Development Time.pdf")
In this article