PdfViewer.AnnotationDeleting Event

Fires before an annotation is deleted from a page.

Namespace: DevExpress.XtraPdfViewer

Assembly: DevExpress.XtraPdfViewer.v20.1.dll


public event PdfAnnotationDeletingEventHandler AnnotationDeleting
Public Event AnnotationDeleting As PdfAnnotationDeletingEventHandler

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.


To prohibit the annotation deletion, set the event parameter's Cancel property to true.

See Also