'Declaration
Public Event BeforeAnnotationAdd As EventHandler(Of BeforeAnnotationAddEventArgs)
'Usage
Dim instance As PDFPageView Dim handler As EventHandler(Of BeforeAnnotationAddEventArgs) AddHandler instance.BeforeAnnotationAdd, handler
public event EventHandler<BeforeAnnotationAddEventArgs> BeforeAnnotationAdd
public: __event EventHandler<BeforeAnnotationAddEventArgs*>* BeforeAnnotationAdd
public: event EventHandler<BeforeAnnotationAddEventArgs^>^ BeforeAnnotationAdd
Event Data
The event handler receives an argument of type BeforeAnnotationAddEventArgs containing data related to this event. The following BeforeAnnotationAddEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Annotation | Gets the annotation that will be added to the document. |
Cancel | Gets or sets a value indicating whether the annotation should be added or not. |
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also