PDFVisualAnnotationDeleteEventArgs¶
Namespace: O2S.Components.PDF4NET.View
Defines the event arguments for PDFDocumentView.BeforeAnnotationDelete and PDFDocumentView.AfterAnnotationDelete events.
Inheritance Object → EventArgs → PDFVisualAnnotationEventArgs → PDFVisualAnnotationDeleteEventArgs
Constructors¶
PDFVisualAnnotationDeleteEventArgs(PDFVisualAnnotation)¶
Initializes a new PDFVisualAnnotationDeleteEventArgs object.
Parameters
annotation PDFVisualAnnotation
The annotation that generated the event.
Properties¶
AllowDelete¶
Gets or sets a value indicating whether the annotation should be deleted or not.
Property Value
Boolean
True if the annotation should be deleted. Default is false.
Remarks
This property is not used by the PDFDocumentView.AfterAnnotationDelete event.
VisualAnnotation¶
Gets the annotation.
Property Value
PDFVisualAnnotation
The annotation that generated the event.