PDFVisualAnnotationMoveEventArgs¶
Namespace: O2S.Components.PDF4NET.View
Defines the event arguments for PDFDocumentView.BeforeAnnotationMove and PDFDocumentView.AfterAnnotationMove events.
Inheritance Object → EventArgs → PDFVisualAnnotationEventArgs → PDFVisualAnnotationMoveEventArgs
Properties¶
AllowHorizontalMove¶
Gets or sets a value indicating whether the move operation should be allowed on horizontal.
Property Value
Boolean
True if the horizontal move operation should be allowed. Default is true.
Remarks
If both PDFVisualAnnotationMoveEventArgs.AllowHorizontalMove and PDFVisualAnnotationMoveEventArgs.AllowVerticalMove properties are false then the annotation cannot be moved. This property is not used by PDFDocumentView.AfterAnnotationMove event.
AllowVerticalMove¶
Gets or sets a value indicating whether the move operation should be allowed on vertical.
Property Value
Boolean
True if the vertical move operation should be allowed. Default is true.
Remarks
If both PDFVisualAnnotationMoveEventArgs.AllowHorizontalMove and PDFVisualAnnotationMoveEventArgs.AllowVerticalMove properties are false then the annotation cannot be moved. This property is not used by PDFDocumentView.AfterAnnotationMove event.
Location¶
Gets the location of the mouse during the generating mouse event.
Property Value
Point
A that contains the x and y mouse coordinates, in pixels, relative to the upper-left corner of the PDFDocumentView control.
NewPosition¶
Gets the annotation's new position.
Property Value
PDFDisplayRectangle
The position of the anotation on the page after it has been moved.
OldPosition¶
Gets the annotation's old position.
Property Value
PDFDisplayRectangle
The position of the anotation on the page before it has been moved.
PageStandardPoint¶
Gets the page standard point.
Property Value
PDFPoint
The point of the page where the mouse was pressed (PDFDocumentView.BeforeAnnotationMove)
and released (PDFDocumentView.AfterAnnotationMove) in page standard coordinates.
Remarks
The point on the page is given in standard PDF coordinates. The values for (x,y) are PDF points.
PageVisualPoint¶
Gets the page visual point.
Property Value
PDFPoint
The point of the page where the mouse was pressed (PDFDocumentView.BeforeAnnotationMove)
and released (PDFDocumentView.AfterAnnotationMove) in page visual coordinates.
Remarks
The point on the page is relative to page's top left visible corner. The values for (x,y) are PDF points.
VisualAnnotation¶
Gets the annotation.
Property Value
PDFVisualAnnotation
The annotation that generated the event.