O2S.Components.PDF4NET.View.Win Documentation
BeforeAnnotationMove Event



O2S.Components.PDF4NET.View Namespace > PDFDocumentView Class : BeforeAnnotationMove Event
Gets or sets the event that is fired when an annotation is about to be moved.
Syntax
'Declaration
 
<CategoryAttribute("PDF")>
<DescriptionAttribute("The event that is fired when an annotation is about to be moved")>
Public Event BeforeAnnotationMove As EventHandler(Of PDFVisualAnnotationMoveEventArgs)
'Usage
 
Dim instance As PDFDocumentView
Dim handler As EventHandler(Of PDFVisualAnnotationMoveEventArgs)
 
AddHandler instance.BeforeAnnotationMove, handler
[Category("PDF")]
[Description("The event that is fired when an annotation is about to be moved")]
public event EventHandler<PDFVisualAnnotationMoveEventArgs> BeforeAnnotationMove
[Category("PDF")]
[Description("The event that is fired when an annotation is about to be moved")]
public:
event EventHandler<PDFVisualAnnotationMoveEventArgs^>^ BeforeAnnotationMove
Event Data

The event handler receives an argument of type PDFVisualAnnotationMoveEventArgs containing data related to this event. The following PDFVisualAnnotationMoveEventArgs properties provide information specific to this event.

PropertyDescription
Gets or sets a value indicating whether the move operation should be allowed on horizontal.  
Gets or sets a value indicating whether the move operation should be allowed on vertical.  
Gets the location of the mouse during the generating mouse event.  
Gets the annotation's new position.  
Gets the annotation's old position.  
Gets the page standard point.  
Gets the page visual point.  
Gets the annotation. (Inherited from O2S.Components.PDF4NET.View.PDFVisualAnnotationEventArgs)
Requirements

Supported .NET Platforms: .NET 4.0 and higher, Windows Forms, ASP.NET, Windows Presentation Foundation 4.x, Silverlight 5, WinRT, Universal Windows Platform, Xamarin Mac, iOS & Android, Portable Class Library, .NET Core, .NET Standard


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