diff --git a/Document-Processing-toc.html b/Document-Processing-toc.html index d5af25b16..011c6dff0 100644 --- a/Document-Processing-toc.html +++ b/Document-Processing-toc.html @@ -536,6 +536,7 @@
  • Comments
  • Import and Export Annotations
  • Annotations in Mobile View
  • +
  • Events
  • Form Designer diff --git a/Document-Processing/PDF/PDF-Viewer/blazor/annotation/events.md b/Document-Processing/PDF/PDF-Viewer/blazor/annotation/events.md new file mode 100644 index 000000000..e26e6b7dd --- /dev/null +++ b/Document-Processing/PDF/PDF-Viewer/blazor/annotation/events.md @@ -0,0 +1,657 @@ +--- +layout: post +title: Annotation Events in Blazor SfPdfViewer Component | Syncfusion +description: Learn how to subscribe to and handle annotations and signature annotation events in the Syncfusion Blazor SfPdfViewer. +platform: document-processing +control: SfPdfViewer +documentation: ug +--- + +# Annotation Events in Blazor SfPdfViewer Component + +Annotation events notify the application when annotations are added, selected, moved, resized, modified, or removed. Subscribe to these events by using the PdfViewerEvents tag inside the SfPdfViewer component. + +|Name|Description| +|---|---| +|AddSignature|Triggers when a signature is added to a page in the PDF document.| +|AnnotationAdded|Triggers when an annotation is added to a page in the PDF document.| +|AnnotationMouseover|Triggers when the mouse pointer moves over an annotation object.| +|AnnotationMoved|Triggers when an annotation is moved on a page in the PDF document.| +|AnnotationPropertiesChanged|Triggers when annotation properties are modified on a PDF page.| +|AnnotationRemoved|Triggers when an annotation is removed from a page in the PDF document.| +|AnnotationResized|Triggers when an annotation is resized on a page in the PDF document.| +|AnnotationSelected|Triggers when an annotation is selected on a page in the PDF document.| +|AnnotationUnselected|Triggers when an annotation is unselected on a page in the PDF document.| +|ExportFailed|Triggers when exporting annotations fails in the SfPdfViewer.| +|ExportStarted|Triggers when exporting annotations starts in the SfPdfViewer.| +|ExportSucceed|Triggers when exporting annotations succeeds in the SfPdfViewer.| +|ImportFailed|Triggers when importing annotations fails in the PDF document.| +|ImportStarted|Triggers when importing annotations starts in the PDF document.| +|ImportSucceed|Triggers when importing annotations succeeds in the PDF document.| +|MoveSignature|Triggers when a signature is moved on a page in the PDF document.| +|OnAnnotationDoubleClick|Triggers when an annotation is double-clicked.| +|RemoveSignature|Triggers when a signature is removed from a page in the PDF document.| +|ResizeSignature|Triggers when a signature is resized on a page in the PDF document.| +|SignaturePropertiesChange|Triggers when the properties of a signature are changed on a page in the PDF document.| +|SignatureSelected|Triggers when a signature is selected on a page in the PDF document.| +|SignatureUnselected|Triggers when a signature is unselected on a page in the PDF document.| + +## AddSignature Event + +The [AddSignature](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_AddSignature) event triggers when a signature is added to a page in the PDF document. + +#### Event Arguments + +For event data, see [AddSignatureEventArgs](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.AddSignatureEventArgs.html) for properties such as AnnotationId, PageNumber, and Bounds. + +The following example illustrates how to handle the AddSignature event. + +```cshtml + +@using Syncfusion.Blazor.SfPdfViewer + + + + + +@code{ + private string DocumentPath { get; set; } = "wwwroot/Data/PDF_Succintly.pdf"; + public async Task AddSignature(AddSignatureEventArgs args) + { + Console.WriteLine($"Added Signature ID: {args.AnnotationId}"); + } +} + +``` + +## AnnotationAdded Event + +The [AnnotationAdded](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_AnnotationAdded) event triggers when an annotation is added to a page in the PDF document. + +#### Event Arguments + +See [AnnotationAddedEventArgs](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.AnnotationAddedEventArgs.html) for details such as AnnotationId, AnnotationType, PageNumber, and Bounds. + +The following example illustrates how to handle the AnnotationAdded event. + +```cshtml + +@using Syncfusion.Blazor.SfPdfViewer + + + + + +@code{ + private string DocumentPath { get; set; } = "wwwroot/Data/PDF_Succintly.pdf"; + public async Task AnnotationAdded(AnnotationAddEventArgs args) + { + Console.WriteLine($"Added Annotation ID: {args.AnnotationId}"); + } +} + +``` + +## AnnotationMouseover Event + +The [AnnotationMouseover](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_AnnotationMouseover) event triggers when the mouse pointer moves over an annotation object. + +#### Event Arguments + +See [AnnotationMouseoverEventArgs](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.AnnotationMouseoverEventArgs.html) for details such as AnnotationId, AnnotationType, PageNumber, and cursor position. + +The following example illustrates how to handle the AnnotationMouseover event. + +```cshtml + +@using Syncfusion.Blazor.SfPdfViewer + + + + + +@code{ + private string DocumentPath { get; set; } = "wwwroot/Data/PDF_Succintly.pdf"; + public async Task AnnotationMouseover(AnnotationMouseoverEventArgs args) + { + Console.WriteLine($"Annotation Mouseover X: {args.X} and y: {args.X}"); + } +} + +``` + +## AnnotationMoved Event + +The [AnnotationMoved](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_AnnotationMoved) event triggers when an annotation is moved on a page in the PDF document. + +#### Event Arguments + +See [AnnotationMovedEventArgs](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.AnnotationMovedEventArgs.html) for details such as AnnotationId, PageNumber, PreviousBounds, and Bounds. + +The following example illustrates how to handle the AnnotationMoved event. + +```cshtml + +@using Syncfusion.Blazor.SfPdfViewer + + + + + +@code{ + private string DocumentPath { get; set; } = "wwwroot/Data/PDF_Succintly.pdf"; + public async Task AnnotationMoved(AnnotationMoveEventArgs args) + { + Console.WriteLine($"Annotation Current Position: {args.CurrentPosition}"); + } +} + +``` + +## AnnotationPropertiesChanged Event + +The [AnnotationPropertiesChanged](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_AnnotationPropertiesChanged) event triggers when annotation properties are modified on a PDF page. + +#### Event Arguments + +See [AnnotationPropertiesChangedEventArgs](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.AnnotationPropertiesChangedEventArgs.html) for details such as AnnotationId, PageNumber, changed property names, and old/new values. + +The following example illustrates how to handle the AnnotationPropertiesChanged event. + +```cshtml + +@using Syncfusion.Blazor.SfPdfViewer + + + + + +@code{ + private string DocumentPath { get; set; } = "wwwroot/Data/PDF_Succintly.pdf"; + public async Task AnnotationPropertiesChanged(AnnotationPropertiesChangeEventArgs args) + { + Console.WriteLine($"Is Annotation Color Changed: {args.IsColorChanged}"); + } +} + +``` + +## AnnotationRemoved Event + +The [AnnotationRemoved](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_AnnotationRemoved) event triggers when an annotation is removed from a page in the PDF document. + +#### Event Arguments + +See [AnnotationRemovedEventArgs](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.AnnotationRemovedEventArgs.html) for details such as AnnotationId, AnnotationType, and PageNumber. + +The following example illustrates how to handle the AnnotationRemoved event. + +```cshtml + +@using Syncfusion.Blazor.SfPdfViewer + + + + + +@code{ + private string DocumentPath { get; set; } = "wwwroot/Data/PDF_Succintly.pdf"; + public async Task AnnotationRemoved(AnnotationRemoveEventArgs args) + { + Console.WriteLine($"Removed Annotation ID: {args.AnnotationId}"); + } +} + +``` + +## AnnotationResized Event + +The [AnnotationResized](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_AnnotationResized) event triggers when an annotation is resized on a page in the PDF document. + +#### Event Arguments + +See [AnnotationResizedEventArgs](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.AnnotationResizedEventArgs.html) for details such as AnnotationId, PageNumber, PreviousBounds, and Bounds. + +The following example illustrates how to handle the AnnotationResized event. + +```cshtml + +@using Syncfusion.Blazor.SfPdfViewer + + + + + +@code{ + private string DocumentPath { get; set; } = "wwwroot/Data/PDF_Succintly.pdf"; + public async Task AnnotationResized(AnnotationResizeEventArgs args) + { + Console.WriteLine($"Resized Annotation ID: {args.AnnotationId}"); + } +} + +``` + +## AnnotationSelected Event + +The [AnnotationSelected](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_AnnotationSelected) event triggers when an annotation is selected on a page in the PDF document. + +#### Event Arguments + +See [AnnotationSelectedEventArgs](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.AnnotationSelectedEventArgs.html) for details such as AnnotationId, AnnotationType, and PageNumber. + +The following example illustrates how to handle the AnnotationSelected event. + +```cshtml + +@using Syncfusion.Blazor.SfPdfViewer + + + + + +@code{ + private string DocumentPath { get; set; } = "wwwroot/Data/PDF_Succintly.pdf"; + public async Task AnnotationSelected(AnnotationSelectEventArgs args) + { + Console.WriteLine($"Selected Annotation ID: {args.AnnotationId}"); + } +} + +``` + +## AnnotationUnselected Event + +The [AnnotationUnselected](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_AnnotationUnselected) event triggers when an annotation is unselected on a page in the PDF document. + +#### Event Arguments + +See [AnnotationUnselectedEventArgs](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.AnnotationUnselectedEventArgs.html) for details such as AnnotationId, AnnotationType, and PageNumber. + +The following example illustrates how to handle the AnnotationUnselected event. + +```cshtml + +@using Syncfusion.Blazor.SfPdfViewer + + + + + +@code{ + private string DocumentPath { get; set; } = "wwwroot/Data/PDF_Succintly.pdf"; + public async Task AnnotationUnselected(AnnotationUnselectEventArgs args) + { + Console.WriteLine($"UnSelected Annotation ID: {args.AnnotationId}"); + } +} + +``` + +## ExportFailed Event + +The [ExportFailed](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_ExportFailed) event triggers when an export annotations failed in the PDF Viewer. + +#### Event Arguments + +See [ExportFailureEventArgs](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.ExportFailureEventArgs.html) for details such as ErrorDetails. + +The following example illustrates how to handle the ExportFailed event. + +```cshtml + +@using Syncfusion.Blazor.SfPdfViewer + + + + + +@code{ + private string DocumentPath { get; set; } = "wwwroot/Data/PDF_Succintly.pdf"; + public async Task ExportFailed(ExportFailureEventArgs args) + { + Console.WriteLine($"Error details: {args.ErrorDetails}"); + } +} + +``` + +## ExportStarted Event + +The [ExportStarted](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_ExportStarted) event triggers when an exported annotations started in the PDF Viewer. + +#### Event Arguments + +See [ExportStartEventArgs](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.ExportStartEventArgs.html) triggers when an exported annotations started in the PDF Viewer. + +The following example illustrates how to handle the ExportStarted event. + +```cshtml + +@using Syncfusion.Blazor.SfPdfViewer + + + + + +@code{ + private string DocumentPath { get; set; } = "wwwroot/Data/PDF_Succintly.pdf"; + public async Task ExportStarted(ExportStartEventArgs args) + { + Console.WriteLine("Export Action Started"); + } +} + +``` + +## ExportSucceed Event + +The [ExportSucceed](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_ExportSucceed) event triggers when an export annotations succeed in the PDF Viewer. + +#### Event Arguments + +See [ExportSuccessEventArgs](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.ExportSuccessEventArgs.html) for details such as FileName. + +The following example illustrates how to handle the ExportSucceed event. + +```cshtml + +@using Syncfusion.Blazor.SfPdfViewer + + + + + +@code{ + private string DocumentPath { get; set; } = "wwwroot/Data/PDF_Succintly.pdf"; + public async Task ExportSucceed(ExportSuccessEventArgs args) + { + Console.WriteLine($"Exported File name : {args.FileName }"); + } +} + +``` + +## ImportFailed Event + +The [ImportFailed](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_ImportFailed) event triggers when an imports annotations failed in the PDF document. + +#### Event Arguments + +See [ImportFailureEventArgs](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.ImportFailureEventArgs.html) for details such as ErrorDetails. + +The following example illustrates how to handle the ImportFailed event. + +```cshtml + +@using Syncfusion.Blazor.SfPdfViewer + + + + + +@code{ + private string DocumentPath { get; set; } = "wwwroot/Data/PDF_Succintly.pdf"; + public async Task ImportFailed(ImportFailureEventArgs args) + { + Console.WriteLine($"Error details: {args.ErrorDetails}"); + } +} + +``` + +## ImportStarted Event + +The [ImportStarted](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_ImportStarted) event triggers when an imported annotations started in the PDF document. + +#### Event Arguments + +See [ImportStartEventArgs](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.ImportStartEventArgs.html) triggers when an imported annotations started in the PDF document. + +The following example illustrates how to handle the ImportStarted event. + +```cshtml + +@using Syncfusion.Blazor.SfPdfViewer + + + + + +@code{ + private string DocumentPath { get; set; } = "wwwroot/Data/PDF_Succintly.pdf"; + public async Task ImportStarted(ImportStartEventArgs args) + { + Console.WriteLine("Import Annotation Started"); + } +} + +``` + +## ImportSucceed Event + +The [ImportSucceed](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_ImportSucceed) event triggers when an imports annotations succeed in the PDF document. + +#### Event Arguments + +See [ImportSuccessEventArgs](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.ImportSuccessEventArgs.html) triggers when an imports annotations succeed in the PDF document. + +The following example illustrates how to handle the ImportSucceed event. + +```cshtml + +@using Syncfusion.Blazor.SfPdfViewer + + + + + +@code{ + private string DocumentPath { get; set; } = "wwwroot/Data/PDF_Succintly.pdf"; + public async Task ImportSucceed(ImportSuccessEventArgs args) + { + Console.WriteLine("Annotation Imported Successfully"); + } +} + +``` + +## MoveSignature Event + +The [MoveSignature](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_MoveSignature) event triggers when a signature is moved on a page in the PDF document. + +#### Event Arguments + +See [MoveSignatureEventArgs](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.MoveSignatureEventArgs.html) for details such as AnnotationId, PageNumber, PreviousBounds, and Bounds. + +The following example illustrates how to handle the MoveSignature event. + +```cshtml + +@using Syncfusion.Blazor.SfPdfViewer + + + + + +@code{ + private string DocumentPath { get; set; } = "wwwroot/Data/PDF_Succintly.pdf"; + public async Task MoveSignature(MoveSignatureEventArgs args) + { + Console.WriteLine($"Moved Signture ID: {args.AnnotationId}"); + } +} + +``` + +## OnAnnotationDoubleClick Event + +The [OnAnnotationDoubleClick](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_OnAnnotationDoubleClick) event triggers when an annotation is double-clicked. + +#### Event Arguments + +See [AnnotationDoubleClickEventArgs](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.AnnotationDoubleClickEventArgs.html) for details such as AnnotationId, AnnotationType, PageNumber, and mouse position. + +The following example illustrates how to handle the OnAnnotationDoubleClick event. + +```cshtml + +@using Syncfusion.Blazor.SfPdfViewer + + + + + +@code{ + private string DocumentPath { get; set; } = "wwwroot/Data/PDF_Succintly.pdf"; + public async Task OnAnnotationDoubleClick(AnnotationDoubleClickEventArgs args) + { + Console.WriteLine($"Double Clicked Annotation ID: {args.AnnotationId}"); + } +} + +``` + +## RemoveSignature Event + +The [RemoveSignature](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_RemoveSignature) event triggers when a signature is removed from a page in the PDF document. + +#### Event Arguments + +See [RemoveSignatureEventArgs](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.RemoveSignatureEventArgs.html) for details such as AnnotationId and PageNumber. + +The following example illustrates how to handle the RemoveSignature event. + +```cshtml + +@using Syncfusion.Blazor.SfPdfViewer + + + + + +@code{ + private string DocumentPath { get; set; } = "wwwroot/Data/PDF_Succintly.pdf"; + public async Task RemoveSignature(RemoveSignatureEventArgs args) + { + Console.WriteLine($"Removed Signature ID: {args.AnnotationId}"); + } +} + +``` + +## ResizeSignature Event + +The [ResizeSignature](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_ResizeSignature) event triggers when a signature is resized on a page in the PDF document. + +#### Event Arguments + +See [ResizeSignatureEventArgs](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.ResizeSignatureEventArgs.html) for details such as AnnotationId, PageNumber, PreviousBounds, and Bounds. + +The following example illustrates how to handle the ResizeSignature event. + +```cshtml + +@using Syncfusion.Blazor.SfPdfViewer + + + + + +@code{ + private string DocumentPath { get; set; } = "wwwroot/Data/PDF_Succintly.pdf"; + public async Task ResizeSignature(ResizeSignatureEventArgs args) + { + Console.WriteLine($"Resized Signature ID: {args.AnnotationId}"); + } +} + +``` + +## SignaturePropertiesChange Event + +The [SignaturePropertiesChange](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_SignaturePropertiesChange) event triggers when the properties of a signature are changed on a page in the PDF document. + +#### Event Arguments + +See [SignaturePropertiesChangeEventArgs](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.SignaturePropertiesChangeEventArgs.html) for details such as AnnotationId, PageNumber, and changed property values. + +The following example illustrates how to handle the SignaturePropertiesChange event. + +```cshtml + +@using Syncfusion.Blazor.SfPdfViewer + + + + + +@code{ + private string DocumentPath { get; set; } = "wwwroot/Data/PDF_Succintly.pdf"; + public async Task SignaturePropertiesChange(SignaturePropertiesChangeEventArgs args) + { + Console.WriteLine($"Is Stroke Color Changed: {args.IsStrokeColorChanged}"); + } +} + +``` + +## SignatureSelected Event + +The [SignatureSelected](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_SignatureSelected) event triggers when a signature is selected on a page in the PDF document. + +#### Event Arguments + +See [SignatureSelectedEventArgs](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.SignatureSelectedEventArgs.html) for details such as AnnotationId and PageNumber. + +The following example illustrates how to handle the SignatureSelected event. + +```cshtml + +@using Syncfusion.Blazor.SfPdfViewer + + + + + +@code{ + private string DocumentPath { get; set; } = "wwwroot/Data/PDF_Succintly.pdf"; + public async Task SignatureSelected(SignatureSelectEventArgs args) + { + Console.WriteLine($"Selected Signture ID: {args.AnnotationId}"); + } +} + +``` + +## SignatureUnselected Event + +The [SignatureUnselected](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_SignatureUnselected) event triggers when a signature is unselected on a page in the PDF document. + +#### Event Arguments + +See [SignatureUnselectedEventArgs](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.SignatureUnselectedEventArgs.html) for details such as AnnotationId and PageNumber. + +The following example illustrates how to handle the SignatureUnselected event. + +```cshtml + +@using Syncfusion.Blazor.SfPdfViewer + + + + + +@code{ + private string DocumentPath { get; set; } = "wwwroot/Data/PDF_Succintly.pdf"; + public async Task SignatureUnselected(SignatureSelectEventArgs args) + { + Console.WriteLine($"UnSelected Signature ID: {args.AnnotationId}"); + } +} + +``` + +## See also + +* [Events in Blazor SfPdfViewer Component](../events) \ No newline at end of file diff --git a/Document-Processing/PDF/PDF-Viewer/blazor/events.md b/Document-Processing/PDF/PDF-Viewer/blazor/events.md index 3a5f324b4..82b261559 100644 --- a/Document-Processing/PDF/PDF-Viewer/blazor/events.md +++ b/Document-Processing/PDF/PDF-Viewer/blazor/events.md @@ -13,51 +13,72 @@ The following events are available in the SfPdfViewer component. |Name|Description| |---|---| -|AddSignature|Triggers when a signature is added to a page in the PDF document.| -|AjaxRequestFailed|Triggers when an AJAX request fails.| -|AnnotationAdded|Triggers when an annotation is added to a page in the PDF document.| -|AnnotationMouseover|Triggers when the mouse pointer moves over an annotation object.| -|AnnotationMoved|Triggers when an annotation is moved on a page in the PDF document.| -|AnnotationPropertiesChanged|Triggers when annotation properties are modified on a PDF page.| -|AnnotationRemoved|Triggers when an annotation is removed from a page in the PDF document.| -|AnnotationResized|Triggers when an annotation is resized on a page in the PDF document.| -|AnnotationSelected|Triggers when an annotation is selected on a page in the PDF document.| -|AnnotationUnselected|Triggers when an annotation is unselected on a page in the PDF document.| -|Created|Triggers when the PDF Viewer component is created.| -|DocumentEdited|Triggers when the PDF document is edited in the SfPdfViewer.| -|DocumentLoaded|Triggers when a document is loaded into the PDF Viewer.| -|DocumentLoadFailed|Triggers when loading a document into the PDF Viewer fails.| -|DcoumentUnloaded|Triggers when the document is closed.| -|DownloadEnd|Triggers when a download action is completed.| -|DownloadStart|Triggers when a download action starts.| -|ExportFailed|Triggers when exporting annotations fails in the SfPdfViewer.| -|ExportStarted|Triggers when exporting annotations starts in the SfPdfViewer.| -|ExportSucceed|Triggers when exporting annotations succeeds in the SfPdfViewer.| -|ExtractTextCompleted|Triggers when text extraction is completed in the SfPdfViewer.| -|ImportFailed|Triggers when importing annotations fails in the PDF document.| -|ImportStarted|Triggers when importing annotations starts in the PDF document.| -|ImportSucceed|Triggers when importing annotations succeeds in the PDF document.| -|MoveSignature|Triggers when a signature is moved on a page in the PDF document.| -|OnAnnotationDoubleClick|Triggers when an annotation is double-clicked.| -|OnHyperlinkClick|Triggers when a hyperlink in the PDF document is clicked.| -|OnHyperlinkMouseOver|Triggers when a hyperlink in the PDF document is hovered.| -|OnPageClick|Triggers when a mouse click is performed on a page in the PDF document.| -|OnTextSearchComplete|Triggers when a text search is completed.| -|OnTextSearchHighlight|Triggers when searched text is highlighted.| -|OnTextSearchStart|Triggers when a text search starts.| -|OnTextSelectionEnd|Triggers when text selection ends.| -|OnTextSelectionStart|Triggers when text selection starts.| -|OnThumbnailClick|Triggers when a thumbnail is clicked in the thumbnail panel of the SfPdfViewer.| -|PageChanged|Triggers when the current page number changes.| -|PageMouseover|Triggers when the mouse pointer moves over a page.| -|PrintEnd|Triggers when a print action is completed.| -|PrintStart|Triggers when a print action starts.| -|RemoveSignature|Triggers when a signature is removed from a page in the PDF document.| -|ResizeSignature|Triggers when a signature is resized on a page in the PDF document.| -|SignaturePropertiesChange|Triggers when the properties of a signature are changed on a page in the PDF document.| -|SignatureSelected|Triggers when a signature is selected on a page in the PDF document.| -|SignatureUnselected|Triggers when a signature is unselected on a page in the PDF document.| -|ZoomChanged|Triggers when the magnification value changes.| +|[AddSignature](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_AddSignature)|Triggers when a signature is added to a page in the PDF document.| +|[AnnotationAdded](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_AnnotationAdded)|Triggers when an annotation is added to a page in the PDF document.| +|[AnnotationMouseover](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_AnnotationMouseover)|Triggers when the mouse pointer moves over an annotation object.| +|[AnnotationMoved](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_AnnotationMoved)|Triggers when an annotation is moved on a page in the PDF document.| +|[AnnotationPropertiesChanged](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_AnnotationPropertiesChanged)|Triggers when annotation properties are modified on a PDF page.| +|[AnnotationRemoved](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_AnnotationRemoved)|Triggers when an annotation is removed from a page in the PDF document.| +|[AnnotationResized](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_AnnotationResized)|Triggers when an annotation is resized on a page in the PDF document.| +|[AnnotationSelected](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_AnnotationSelected)|Triggers when an annotation is selected on a page in the PDF document.| +|[AnnotationUnselected](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_AnnotationUnselected)|Triggers when an annotation is unselected on a page in the PDF document.| +|[CommandExecuted](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_CommandExecuted)|Triggers when the designated command is invoked.| +|[Created](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_Created)|Triggers when the PDF Viewer component is created.| +|[DocumentEdited](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_DocumentEdited)|Triggers when the PDF document is edited in the SfPdfViewer.| +|[DocumentLoaded](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_DocumentLoaded)|Triggers when a document is loaded into the PDF Viewer.| +|[DocumentLoadFailed](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_DocumentLoadFailed)|Triggers when loading a document into the PDF Viewer fails.| +|[DcoumentUnloaded](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_DocumentUnloaded)|Triggers when the document is closed.| +|[DownloadEnd](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_DownloadEnd)|Triggers when a download action is completed.| +|[DownloadStart](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_DownloadStart)|Triggers when a download action starts.| +|[ExportFailed](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_ExportFailed)|Triggers when exporting annotations fails in the SfPdfViewer.| +|[ExportStarted](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_ExportStarted)|Triggers when exporting annotations starts in the SfPdfViewer.| +|[ExportSucceed](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_ExportSucceed)|Triggers when exporting annotations succeeds in the SfPdfViewer.| +|[ExtractTextCompleted](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_ExtractTextCompleted)|Triggers when text extraction is completed in the SfPdfViewer.| +|[FormFieldAdded](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_FormFieldAdded)|Triggered when a form field is added to the PDF document.| +|[FormFieldAdding](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_FormFieldAdding)|Triggered before a new form field is added, allowing validation before insertion.| +|[FormFieldClick](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_FormFieldClick)|Triggered when a user clicks on a form field while designer mode is off.| +|[FormFieldDeleted](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_FormFieldDeleted)|Triggered when a form field is removed from the document.| +|[FormFieldDoubleClick](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_FormFieldDoubleClick)|Triggered when a form field is double-clicked.| +|[FormFieldFocusIn](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_FormFieldFocusIn)|Triggered when focus enters a form field.| +|[FormFieldFocusOut](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_FormFieldFocusOut)|Triggered when focus leaves a form field.| +|[FormFieldMouseEnter](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_FormFieldMouseEnter)|Triggered when the mouse hovers over a form field.| +|[FormFieldMouseLeave](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_FormFieldMouseLeave)|Triggered when the mouse leaves a form field.| +|[FormFieldPropertyChanged](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_FormFieldPropertyChanged)|Triggered when a form field's properties are modified.| +|[FormFieldResized](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_FormFieldResized)|Triggered when a form field is resized.| +|[FormFieldSelected](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_FormFieldSelected)|Triggered when a form field is selected.| +|[FormFieldsExported](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_FormFieldsExported)|Triggered when form fields are successfully exported.| +|[FormFieldsExportFailed](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_FormFieldsExportFailed)|Triggered when form fields export operation fails.| +|[FormFieldsExporting](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_FormFieldsExporting)|Triggered before form fields are exported, allowing customization of the export process.| +|[FormFieldsImported](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_FormFieldsImported)|Triggered when form fields are successfully imported.| +|[FormFieldsImportFailed](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_FormFieldsImportFailed)|Triggered when form fields import operation fails.| +|[FormFieldsImporting](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_FormFieldsImporting)|Triggered before form fields are imported, allowing validation or modifications.| +|[FormFieldUnselected](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_FormFieldUnselected)|Triggered when a form field is unselected.| +|[ImportFailed](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_ImportFailed)|Triggers when importing annotations fails in the PDF document.| +|[ImportStarted](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_ImportStarted)|Triggers when importing annotations starts in the PDF document.| +|[ImportSucceed](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_ImportSucceed)|Triggers when importing annotations succeeds in the PDF document.| +|[MoveSignature](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_MoveSignature)|Triggers when a signature is moved on a page in the PDF document.| +|[OnAnnotationDoubleClick](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_OnAnnotationDoubleClick)|Triggers when an annotation is double-clicked.| +|[OnHyperlinkClick](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_OnHyperlinkClick)|Triggers when a hyperlink in the PDF document is clicked.| +|[OnHyperlinkMouseOver](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_OnHyperlinkMouseOver)|Triggers when a hyperlink in the PDF document is hovered.| +|[OnPageClick](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_OnPageClick)|Triggers when a mouse click is performed on a page in the PDF document.| +|[OnTextSearchComplete](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_OnTextSearchComplete)|Triggers when a text search is completed.| +|[OnTextSearchHighlight](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_OnTextSearchHighlight)|Triggers when searched text is highlighted.| +|[OnTextSearchStart](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_OnTextSearchStart)|Triggers when a text search starts.| +|[OnTextSelectionEnd](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_OnTextSelectionEnd)|Triggers when text selection ends.| +|[OnTextSelectionStart](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_OnTextSelectionStart)|Triggers when text selection starts.| +|[OnThumbnailClick](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_OnThumbnailClick)|Triggers when a thumbnail is clicked in the thumbnail panel of the SfPdfViewer.| +|[PageChanged](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_PageChanged)|Triggers when the current page number changes.| +|[PageMouseover](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_PageMouseover)|Triggers when the mouse pointer moves over a page.| +|[PrintEnd](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_PrintEnd)|Triggers when a print action is completed.| +|[PrintStart](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_PrintStart)|Triggers when a print action starts.| +|[RemoveSignature](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_RemoveSignature)|Triggers when a signature is removed from a page in the PDF document.| +|[ResizeSignature](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_ResizeSignature)|Triggers when a signature is resized on a page in the PDF document.| +|[SignaturePropertiesChange](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_SignaturePropertiesChange)|Triggers when the properties of a signature are changed on a page in the PDF document.| +|[SignatureSelected](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_SignatureSelected)|Triggers when a signature is selected on a page in the PDF document.| +|[SignatureUnselected](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_SignatureUnselected)|Triggers when a signature is unselected on a page in the PDF document.| +|[ToolbarClicked](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_ToolbarClicked)|Triggers an event when a Custom Toolbar Item is clicked in the Toolbar.| +|[ValidateFormFields](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_ValidateFormFields)|Triggered when form fields are validated.| +|[ZoomChanged](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.SfPdfViewer.PdfViewerEvents.html#Syncfusion_Blazor_SfPdfViewer_PdfViewerEvents_ZoomChanged)|Triggers when the magnification value changes.| ## Adding SfPdfViewer events to Blazor component @@ -138,4 +159,9 @@ The following example illustrates how to handle the DocumentEdited event. In thi ``` -[View sample in GitHub](https://github.com/SyncfusionExamples/blazor-pdf-viewer-examples/tree/master/Load%20and%20Save/Load%20a%20PDF%20document%20using%20created%20event) \ No newline at end of file +[View sample in GitHub](https://github.com/SyncfusionExamples/blazor-pdf-viewer-examples/tree/master/Load%20and%20Save/Load%20a%20PDF%20document%20using%20created%20event) + +## See Also + +* [Annotation Events in Blazor PDF Viewer](./annotation/events) +* [Form Designer Events in Blazor PDF Viewer](./form-designer/events) \ No newline at end of file