You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/controls/PDFViewer/pdfjs-processing.md
+32-14Lines changed: 32 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,11 +14,40 @@ By default, if no processing configuration is defined, the PDFViewer uses the PD
14
14
15
15
## Requirements
16
16
17
-
Add the PDF.js library scripts to the page.
17
+
The following table showcases the compatibility between Kendo UI and the PDFJS library. Versions before Kendo UI 2024.4.1112 are not compatible with PDFJS 4.x.
The following example demonstrates how to configure the PDFViewer to use PDF.js processing.
24
+
## Configuring with Kendo UI v2024.4.1112 and Later
25
+
26
+
Starting with v2024.4.1112(2024 Q4), the PDFViewer requires PDFJS version 4.x.x or later.
27
+
28
+
The following example demonstrates how to configure the PDFViewer to use PDF.js processing with versions starting with 4.x.x
29
+
30
+
```html
31
+
<scriptsrc="https://cdnjs.cloudflare.com/ajax/libs/pdf.js/4.3.136/pdf.mjs"type="module"></script> <!-- Include pdf.js before the kendo scripts -->
32
+
<scriptsrc="https://cdnjs.cloudflare.com/ajax/libs/pdf.js/4.3.136/pdf.worker.mjs"type="module"></script> <!-- Include pdf.worker.js before the kendo scripts -->
0 commit comments