diff --git a/How to/Handle Line Angle Constraints to Annotation Drawing/index.html b/How to/Handle Line Angle Constraints to Annotation Drawing/index.html new file mode 100644 index 0000000..6ce55ed --- /dev/null +++ b/How to/Handle Line Angle Constraints to Annotation Drawing/index.html @@ -0,0 +1,37 @@ + + EJ2 PDF Viewer + + + + + + + + + + + + + + + + + + + + + + +
+
+
+ + + + + \ No newline at end of file diff --git a/How to/Handle Line Angle Constraints to Annotation Drawing/index.js b/How to/Handle Line Angle Constraints to Annotation Drawing/index.js new file mode 100644 index 0000000..08a5ddf --- /dev/null +++ b/How to/Handle Line Angle Constraints to Annotation Drawing/index.js @@ -0,0 +1,9 @@ +var pdfviewer = new ej.pdfviewer.PdfViewer({ + documentPath: 'https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf', + resourceUrl: "https://cdn.syncfusion.com/ej2/31.1.17/dist/ej2-pdfviewer-lib", + // To enable the annotation drawing options + annotationDrawingOptions : {enableLineAngleConstraints : true, restrictLineAngleTo: 90} +}); +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); + pdfviewer.appendTo('#PdfViewer'); \ No newline at end of file