Fires before an annotation is deleted from a page.
public event PdfAnnotationDeletingEventHandler AnnotationDeleting
Public Event AnnotationDeleting As PdfAnnotationDeletingEventHandler
The AnnotationDeleting event's data class is PdfAnnotationDeletingEventArgs. The following properties provide information specific to this event:
|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.