Skip to content

PDFVisualAnnotationDeleteEventArgs

Namespace: O2S.Components.PDF4NET.View

Defines the event arguments for and events.

public class PDFVisualAnnotationDeleteEventArgs : PDFVisualAnnotationEventArgs

Inheritance ObjectEventArgsPDFVisualAnnotationEventArgsPDFVisualAnnotationDeleteEventArgs

Constructors

PDFVisualAnnotationDeleteEventArgs(PDFVisualAnnotation)

Initializes a new PDFVisualAnnotationDeleteEventArgs object.

public PDFVisualAnnotationDeleteEventArgs(PDFVisualAnnotation annotation)

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.

public bool AllowDelete { get; set; }

Property Value

Boolean
True if the annotation should be deleted. Default is false.

Remarks

This property is not used by the event.


VisualAnnotation

Gets the annotation.

public PDFVisualAnnotation VisualAnnotation { get; }

Property Value

PDFVisualAnnotation
The annotation that generated the event.