|
1 | 1 | --- |
2 | | -title: Annotations Events in ASP.NET MVC Pdfviewer control | Syncfusion |
3 | | -description: Learn here all about Annotations Events in Syncfusion ASP.NET MVC Pdfviewer component of Syncfusion Essential JS 2 and more. |
| 2 | +title: Annotations Events in ASP.NET MVC PDF Viewer control | Syncfusion |
| 3 | +description: Learn here all about Annotations Events in Syncfusion ASP.NET MVC PDF Viewer component of Syncfusion Essential JS 2 and more. |
4 | 4 | platform: document-processing |
5 | 5 | control: PDF Viewer |
6 | 6 | documentation: ug |
@@ -47,7 +47,7 @@ The following example illustrates how to handle the `annotationAdd` event. |
47 | 47 |
|
48 | 48 | <div id="e-pv-e-sign-pdfViewer-div"> |
49 | 49 | <button id="checkComments" onclick="checkComments()">Check Comments</button> |
50 | | - @Html.EJS().PdfViewer("pdfviewer").ResourceUrl("https://cdn.syncfusion.com/ej2/24.1.41/dist/ej2-pdfviewer-lib").DocumentPath("https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf").AnnotationAdd("annotationAdd").Render() |
| 50 | + @Html.EJS().PdfViewer("pdfviewer").ResourceUrl("https://cdn.syncfusion.com/ej2/31.2.2/dist/ej2-pdfviewer-lib").DocumentPath("https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf").AnnotationAdd("annotationAdd").Render() |
51 | 51 | </div> |
52 | 52 |
|
53 | 53 | <script type="text/javascript"> |
@@ -90,7 +90,7 @@ The following example illustrates how to handle the `annotationDoubleClick` even |
90 | 90 |
|
91 | 91 | <div id="e-pv-e-sign-pdfViewer-div"> |
92 | 92 | <button id="checkComments" onclick="checkComments()">Check Comments</button> |
93 | | - @Html.EJS().PdfViewer("pdfviewer").ResourceUrl("https://cdn.syncfusion.com/ej2/24.1.41/dist/ej2-pdfviewer-lib").DocumentPath("https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf").AnnotationDoubleClick("annotationDoubleClicked").Render() |
| 93 | + @Html.EJS().PdfViewer("pdfviewer").ResourceUrl("https://cdn.syncfusion.com/ej2/31.2.2/dist/ej2-pdfviewer-lib").DocumentPath("https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf").AnnotationDoubleClick("annotationDoubleClicked").Render() |
94 | 94 | </div> |
95 | 95 |
|
96 | 96 | <script> |
@@ -130,7 +130,7 @@ The following example illustrates how to handle the `annotationMouseLeave` event |
130 | 130 |
|
131 | 131 | <div id="e-pv-e-sign-pdfViewer-div"> |
132 | 132 | <button id="checkComments" onclick="checkComments()">Check Comments</button> |
133 | | - @Html.EJS().PdfViewer("pdfviewer").ResourceUrl("https://cdn.syncfusion.com/ej2/24.1.41/dist/ej2-pdfviewer-lib").DocumentPath("https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf").AnnotationMouseLeave("AnnotationMouseLeaved").Render() |
| 133 | + @Html.EJS().PdfViewer("pdfviewer").ResourceUrl("https://cdn.syncfusion.com/ej2/31.2.2/dist/ej2-pdfviewer-lib").DocumentPath("https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf").AnnotationMouseLeave("AnnotationMouseLeaved").Render() |
134 | 134 | </div> |
135 | 135 |
|
136 | 136 | <script> |
@@ -171,7 +171,7 @@ The following example illustrates how to handle the `annotationMouseover` event. |
171 | 171 |
|
172 | 172 | <div id="e-pv-e-sign-pdfViewer-div"> |
173 | 173 | <button id="checkComments" onclick="checkComments()">Check Comments</button> |
174 | | - @Html.EJS().PdfViewer("pdfviewer").ResourceUrl("https://cdn.syncfusion.com/ej2/24.1.41/dist/ej2-pdfviewer-lib").DocumentPath("https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf").AnnotationMouseover("AnnotationMouseovered").Render() |
| 174 | + @Html.EJS().PdfViewer("pdfviewer").ResourceUrl("https://cdn.syncfusion.com/ej2/31.2.2/dist/ej2-pdfviewer-lib").DocumentPath("https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf").AnnotationMouseover("AnnotationMouseovered").Render() |
175 | 175 | </div> |
176 | 176 |
|
177 | 177 | <script> |
@@ -212,7 +212,7 @@ The following example illustrates how to handle the `annotationMove` event. |
212 | 212 |
|
213 | 213 | <div id="e-pv-e-sign-pdfViewer-div"> |
214 | 214 | <button id="checkComments" onclick="checkComments()">Check Comments</button> |
215 | | - @Html.EJS().PdfViewer("pdfviewer").ResourceUrl("https://cdn.syncfusion.com/ej2/24.1.41/dist/ej2-pdfviewer-lib").DocumentPath("https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf").AnnotationMove("annotationMoved").Render() |
| 215 | + @Html.EJS().PdfViewer("pdfviewer").ResourceUrl("https://cdn.syncfusion.com/ej2/31.2.2/dist/ej2-pdfviewer-lib").DocumentPath("https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf").AnnotationMove("annotationMoved").Render() |
216 | 216 | </div> |
217 | 217 |
|
218 | 218 | <script> |
@@ -253,7 +253,7 @@ The following example illustrates how to handle the `annotationMoving` event. |
253 | 253 |
|
254 | 254 | <div id="e-pv-e-sign-pdfViewer-div"> |
255 | 255 | <button id="checkComments" onclick="checkComments()">Check Comments</button> |
256 | | - @Html.EJS().PdfViewer("pdfviewer").ResourceUrl("https://cdn.syncfusion.com/ej2/24.1.41/dist/ej2-pdfviewer-lib").DocumentPath("https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf").AnnotationMoving("annotationMoving").Render() |
| 256 | + @Html.EJS().PdfViewer("pdfviewer").ResourceUrl("https://cdn.syncfusion.com/ej2/31.2.2/dist/ej2-pdfviewer-lib").DocumentPath("https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf").AnnotationMoving("annotationMoving").Render() |
257 | 257 | </div> |
258 | 258 |
|
259 | 259 | <script> |
@@ -294,7 +294,7 @@ The following example illustrates how to handle the `annotationPropertiesChange` |
294 | 294 |
|
295 | 295 | <div id="e-pv-e-sign-pdfViewer-div"> |
296 | 296 | <button id="checkComments" onclick="checkComments()">Check Comments</button> |
297 | | - @Html.EJS().PdfViewer("pdfviewer").ResourceUrl("https://cdn.syncfusion.com/ej2/24.1.41/dist/ej2-pdfviewer-lib").DocumentPath("https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf").AnnotationPropertiesChange("annotationPropertiesChanged").Render() |
| 297 | + @Html.EJS().PdfViewer("pdfviewer").ResourceUrl("https://cdn.syncfusion.com/ej2/31.2.2/dist/ej2-pdfviewer-lib").DocumentPath("https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf").AnnotationPropertiesChange("annotationPropertiesChanged").Render() |
298 | 298 | </div> |
299 | 299 |
|
300 | 300 | <script> |
@@ -337,7 +337,7 @@ The following example illustrates how to handle the `annotationRemove` event. |
337 | 337 |
|
338 | 338 | <div id="e-pv-e-sign-pdfViewer-div"> |
339 | 339 | <button id="checkComments" onclick="checkComments()">Check Comments</button> |
340 | | - @Html.EJS().PdfViewer("pdfviewer").ResourceUrl("https://cdn.syncfusion.com/ej2/24.1.41/dist/ej2-pdfviewer-lib").DocumentPath("https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf").AnnotationRemove("annotationRemoved").Render() |
| 340 | + @Html.EJS().PdfViewer("pdfviewer").ResourceUrl("https://cdn.syncfusion.com/ej2/31.2.2/dist/ej2-pdfviewer-lib").DocumentPath("https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf").AnnotationRemove("annotationRemoved").Render() |
341 | 341 | </div> |
342 | 342 |
|
343 | 343 | <script> |
@@ -378,7 +378,7 @@ The following example illustrates how to handle the `annotationResize` event. |
378 | 378 |
|
379 | 379 | <div id="e-pv-e-sign-pdfViewer-div"> |
380 | 380 | <button id="checkComments" onclick="checkComments()">Check Comments</button> |
381 | | - @Html.EJS().PdfViewer("pdfviewer").ResourceUrl("https://cdn.syncfusion.com/ej2/24.1.41/dist/ej2-pdfviewer-lib").DocumentPath("https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf").AnnotationResize("annotationResized").Render() |
| 381 | + @Html.EJS().PdfViewer("pdfviewer").ResourceUrl("https://cdn.syncfusion.com/ej2/31.2.2/dist/ej2-pdfviewer-lib").DocumentPath("https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf").AnnotationResize("annotationResized").Render() |
382 | 382 | </div> |
383 | 383 |
|
384 | 384 | <script> |
@@ -419,7 +419,7 @@ The following example illustrates how to handle the `annotationSelect` event. |
419 | 419 |
|
420 | 420 | <div id="e-pv-e-sign-pdfViewer-div"> |
421 | 421 | <button id="checkComments" onclick="checkComments()">Check Comments</button> |
422 | | - @Html.EJS().PdfViewer("pdfviewer").ResourceUrl("https://cdn.syncfusion.com/ej2/24.1.41/dist/ej2-pdfviewer-lib").DocumentPath("https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf").AnnotationSelect("annotationSelected").Render() |
| 422 | + @Html.EJS().PdfViewer("pdfviewer").ResourceUrl("https://cdn.syncfusion.com/ej2/31.2.2/dist/ej2-pdfviewer-lib").DocumentPath("https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf").AnnotationSelect("annotationSelected").Render() |
423 | 423 | </div> |
424 | 424 |
|
425 | 425 | <script> |
@@ -460,7 +460,7 @@ The following example illustrates how to handle the `annotationUnselect` event. |
460 | 460 |
|
461 | 461 | <div id="e-pv-e-sign-pdfViewer-div"> |
462 | 462 | <button id="checkComments" onclick="checkComments()">Check Comments</button> |
463 | | - @Html.EJS().PdfViewer("pdfviewer").ResourceUrl("https://cdn.syncfusion.com/ej2/24.1.41/dist/ej2-pdfviewer-lib").DocumentPath("https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf").AnnotationUnSelect("annotationUnselected").Render() |
| 463 | + @Html.EJS().PdfViewer("pdfviewer").ResourceUrl("https://cdn.syncfusion.com/ej2/31.2.2/dist/ej2-pdfviewer-lib").DocumentPath("https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf").AnnotationUnSelect("annotationUnselected").Render() |
464 | 464 | </div> |
465 | 465 |
|
466 | 466 | <script> |
@@ -501,7 +501,7 @@ The following example illustrates how to handle the `beforeAddFreeText` event. |
501 | 501 |
|
502 | 502 | <div id="e-pv-e-sign-pdfViewer-div"> |
503 | 503 | <button id="checkComments" onclick="checkComments()">Check Comments</button> |
504 | | - @Html.EJS().PdfViewer("pdfviewer").ResourceUrl("https://cdn.syncfusion.com/ej2/24.1.41/dist/ej2-pdfviewer-lib").DocumentPath("https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf").BeforeAddFreeText("beforeAddedFreeText").Render() |
| 504 | + @Html.EJS().PdfViewer("pdfviewer").ResourceUrl("https://cdn.syncfusion.com/ej2/31.2.2/dist/ej2-pdfviewer-lib").DocumentPath("https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf").BeforeAddFreeText("beforeAddedFreeText").Render() |
505 | 505 | </div> |
506 | 506 |
|
507 | 507 | <script> |
@@ -548,7 +548,7 @@ The following example illustrates how to handle the `addSignature` event. |
548 | 548 |
|
549 | 549 | <div id="e-pv-e-sign-pdfViewer-div"> |
550 | 550 | <button id="checkComments" onclick="checkComments()">Check Comments</button> |
551 | | - @Html.EJS().PdfViewer("pdfviewer").ResourceUrl("https://cdn.syncfusion.com/ej2/24.1.41/dist/ej2-pdfviewer-lib").DocumentPath("https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf").AddSignature("addSignature").Render() |
| 551 | + @Html.EJS().PdfViewer("pdfviewer").ResourceUrl("https://cdn.syncfusion.com/ej2/31.2.2/dist/ej2-pdfviewer-lib").DocumentPath("https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf").AddSignature("addSignature").Render() |
552 | 552 | </div> |
553 | 553 |
|
554 | 554 | <script> |
@@ -589,7 +589,7 @@ The following example illustrates how to handle the `removeSignature` event. |
589 | 589 |
|
590 | 590 | <div id="e-pv-e-sign-pdfViewer-div"> |
591 | 591 | <button id="checkComments" onclick="checkComments()">Check Comments</button> |
592 | | - @Html.EJS().PdfViewer("pdfviewer").ResourceUrl("https://cdn.syncfusion.com/ej2/24.1.41/dist/ej2-pdfviewer-lib").DocumentPath("https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf").RemoveSignature("removeSignature").Render() |
| 592 | + @Html.EJS().PdfViewer("pdfviewer").ResourceUrl("https://cdn.syncfusion.com/ej2/31.2.2/dist/ej2-pdfviewer-lib").DocumentPath("https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf").RemoveSignature("removeSignature").Render() |
593 | 593 | </div> |
594 | 594 |
|
595 | 595 | <script> |
@@ -630,7 +630,7 @@ The following example illustrates how to handle the `resizeSignature` event. |
630 | 630 |
|
631 | 631 | <div id="e-pv-e-sign-pdfViewer-div"> |
632 | 632 | <button id="checkComments" onclick="checkComments()">Check Comments</button> |
633 | | - @Html.EJS().PdfViewer("pdfviewer").ResourceUrl("https://cdn.syncfusion.com/ej2/24.1.41/dist/ej2-pdfviewer-lib").DocumentPath("https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf").ResizeSignature("resizeSignature").Render() |
| 633 | + @Html.EJS().PdfViewer("pdfviewer").ResourceUrl("https://cdn.syncfusion.com/ej2/31.2.2/dist/ej2-pdfviewer-lib").DocumentPath("https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf").ResizeSignature("resizeSignature").Render() |
634 | 634 | </div> |
635 | 635 |
|
636 | 636 | <script> |
@@ -671,7 +671,7 @@ The following example illustrates how to handle the `signaturePropertiesChange` |
671 | 671 |
|
672 | 672 | <div id="e-pv-e-sign-pdfViewer-div"> |
673 | 673 | <button id="checkComments" onclick="checkComments()">Check Comments</button> |
674 | | - @Html.EJS().PdfViewer("pdfviewer").ResourceUrl("https://cdn.syncfusion.com/ej2/24.1.41/dist/ej2-pdfviewer-lib").DocumentPath("https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf").SignaturePropertiesChange("signaturePropertiesChanged").Render() |
| 674 | + @Html.EJS().PdfViewer("pdfviewer").ResourceUrl("https://cdn.syncfusion.com/ej2/31.2.2/dist/ej2-pdfviewer-lib").DocumentPath("https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf").SignaturePropertiesChange("signaturePropertiesChanged").Render() |
675 | 675 | </div> |
676 | 676 |
|
677 | 677 | <script> |
@@ -712,7 +712,7 @@ The following example illustrates how to handle the `signatureSelect` event. |
712 | 712 |
|
713 | 713 | <div id="e-pv-e-sign-pdfViewer-div"> |
714 | 714 | <button id="checkComments" onclick="checkComments()">Check Comments</button> |
715 | | - @Html.EJS().PdfViewer("pdfviewer").ResourceUrl("https://cdn.syncfusion.com/ej2/24.1.41/dist/ej2-pdfviewer-lib").DocumentPath("https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf").SignatureSelect("signatureSelected").Render() |
| 715 | + @Html.EJS().PdfViewer("pdfviewer").ResourceUrl("https://cdn.syncfusion.com/ej2/31.2.2/dist/ej2-pdfviewer-lib").DocumentPath("https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf").SignatureSelect("signatureSelected").Render() |
716 | 716 | </div> |
717 | 717 |
|
718 | 718 | <script> |
@@ -753,7 +753,7 @@ The following example illustrates how to handle the `signatureUnselect` event. |
753 | 753 |
|
754 | 754 | <div id="e-pv-e-sign-pdfViewer-div"> |
755 | 755 | <button id="checkComments" onclick="checkComments()">Check Comments</button> |
756 | | - @Html.EJS().PdfViewer("pdfviewer").ResourceUrl("https://cdn.syncfusion.com/ej2/24.1.41/dist/ej2-pdfviewer-lib").DocumentPath("https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf").SignatureUnselect("signatureUnselected").Render() |
| 756 | + @Html.EJS().PdfViewer("pdfviewer").ResourceUrl("https://cdn.syncfusion.com/ej2/31.2.2/dist/ej2-pdfviewer-lib").DocumentPath("https://cdn.syncfusion.com/content/pdf/pdf-succinctly.pdf").SignatureUnselect("signatureUnselected").Render() |
757 | 757 | </div> |
758 | 758 |
|
759 | 759 | <script> |
|
0 commit comments