'Declaration<CategoryAttribute("PDF")> <DescriptionAttribute("The event that is fired before an annotation is added through the PdfDocumentView control")> Public Event BeforeAnnotationAdd As EventHandler(Of PdfVisualAnnotationAddEventArgs)
'UsageDim instance As PdfDocumentView Dim handler As EventHandler(Of PdfVisualAnnotationAddEventArgs) AddHandler instance.BeforeAnnotationAdd, handler
[Category("PDF")] [Description("The event that is fired before an annotation is added through the PdfDocumentView control")] public event EventHandler<PdfVisualAnnotationAddEventArgs> BeforeAnnotationAdd
[Category("PDF")] [Description("The event that is fired before an annotation is added through the PdfDocumentView control")] public: event EventHandler<PdfVisualAnnotationAddEventArgs^>^ BeforeAnnotationAdd
Event Data
The event handler receives an argument of type PdfVisualAnnotationAddEventArgs containing data related to this event. The following PdfVisualAnnotationAddEventArgs properties provide information specific to this event.
| Property | Description |
|---|---|
| AllowAdd | Gets or sets a value indicating whether the annotation should be added or not. |
| VisualAnnotation | Gets the annotation. (Inherited from Xfinium.Pdf.View.PdfVisualAnnotationEventArgs) |
Requirements
Supported .NET Platforms: .NET 4.0 and higher, Windows Forms
Target Platforms:Windows 10, Windows 8.1, Windows 8 , Windows 7, Windows Vista SP1 or later, Windows Server 2008, Windows Server 2008 R2
See Also