1
+ <html xmlns =" http://www.w3.org/1999/xhtml" >
2
+ <head >
3
+ <title >Essential Studio for JavaScript : Detail Template</title >
4
+ <meta name = " viewport" content = " width=device-width, initial-scale=1.0" />
5
+
6
+
7
+ <meta name = " viewport" content = " width=device-width, initial-scale=1.0" />
8
+
9
+ <link href = " https://cdn.syncfusion.com/ej2/28.1.33/ej2-base/styles/material.css" rel = " stylesheet" >
10
+ <link href = " https://cdn.syncfusion.com/ej2/28.1.33/ej2-pdfviewer/styles/material.css" rel = " stylesheet" >
11
+ <link href = " https://cdn.syncfusion.com/ej2/28.1.33/ej2-buttons/styles/material.css" rel = " stylesheet" >
12
+ <link href = " https://cdn.syncfusion.com/ej2/28.1.33/ej2-popups/styles/material.css" rel = " stylesheet" >
13
+ <link href = " https://cdn.syncfusion.com/ej2/28.1.33/ej2-navigations/styles/material.css" rel = " stylesheet" >
14
+ <link href = " https://cdn.syncfusion.com/ej2/28.1.33/ej2-dropdowns/styles/material.css" rel = " stylesheet" >
15
+ <link href = " https://cdn.syncfusion.com/ej2/28.1.33/ej2-lists/styles/material.css" rel = " stylesheet" >
16
+ <link href = " https://cdn.syncfusion.com/ej2/28.1.33/ej2-inputs/styles/material.css" rel = " stylesheet" >
17
+ <link href = " https://cdn.syncfusion.com/ej2/28.1.33/ej2-splitbuttons/styles/material.css" rel = " stylesheet" >
18
+ <script src = " https://cdn.syncfusion.com/ej2/28.1.33/dist/ej2.min.js" type = " text/javascript" ></script >
19
+ <script src = " https://cdn.syncfusion.com/ej2/syncfusion-helper.js" type = " text/javascript" ></script >
20
+ </head >
21
+ <body >
22
+ <div id = " container" >
23
+ <div id = " PdfViewer" style = " height:580px;width:100%;" ></div >
24
+ </div >
25
+ <script type = " text/javascript" >
26
+ var pdfviewer = new ej.pdfviewer.PdfViewer({
27
+ documentPath :' https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf' ,
28
+ resourceUrl :' https://cdn.syncfusion.com/ej2/27.2.2/dist/ej2-pdfviewer-lib'
29
+ } );
30
+ ej.pdfviewer.PdfViewer.Inject(ej.pdfviewer.TextSelection, ej.pdfviewer.TextSearch, ej.pdfviewer.Print, ej.pdfviewer.Navigation, ej.pdfviewer.Toolbar,ej.pdfviewer.Magnification, ej.pdfviewer.Annotation, ej.pdfviewer.FormDesigner, ej.pdfviewer.FormFields, ej.pdfviewer.PageOrganizer);
31
+
32
+ //PDF Viewer control rendering starts
33
+ pdfviewer.appendTo('#PdfViewer');
34
+ </script >
35
+ </body >
36
+ </html >
0 commit comments