PdfViewer.AnnotationDeleting Event
Fires before an annotation is deleted from a page.
Namespace: DevExpress.XtraPdfViewer
Assembly: DevExpress.XtraPdfViewer.v18.1.dll
Declaration
Event Data
The AnnotationDeleting event's data class is PdfAnnotationDeletingEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
Cancel | Gets or sets a value indicating whether the event should be canceled. Inherited from CancelEventArgs. |
Name | Gets the annotation name. |
PageNumber | Gets the page number where the annotation is located. |
Rectangle | Gets the annotation’s bounds on a page. |
Remarks
To prohibit the annotation deletion, set the event parameter’s Cancel property to true.
See Also