PDFView4NET WinForms Edition
BeforeAnnotationAdd Event




O2S.Components.PDFView4NET Namespace > PDFPageView Class : BeforeAnnotationAdd Event
Gets or sets the event that is fired before an annotation is added to the page displayed in the control.
Syntax
'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.

PropertyDescription
Gets the annotation that will be added to the document.  
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