PDFVisualAnnotationResizeEventArgs¶
Namespace: O2S.Components.PDF4NET.View
Defines the event arguments for PDFDocumentView.BeforeAnnotationResize and PDFDocumentView.AfterAnnotationResize events.
Inheritance Object → EventArgs → PDFVisualAnnotationEventArgs → PDFVisualAnnotationResizeEventArgs
Properties¶
AllowHorizontalResize¶
Gets or sets a value indicating whether the resize operation should be allowed on horizontal.
Property Value
Boolean
True if the horizontal resize operation should be allowed. Default is true.
Remarks
If both PDFVisualAnnotationResizeEventArgs.AllowHorizontalResize and PDFVisualAnnotationResizeEventArgs.AllowVerticalResize properties are false then the annotation cannot be resized. This property is not used by PDFDocumentView.AfterAnnotationResize event.
AllowVerticalResize¶
Gets or sets a value indicating whether the resize operation should be allowed on vertical.
Property Value
Boolean
True if the vertical resize operation should be allowed. Default is true.
Remarks
If both PDFVisualAnnotationResizeEventArgs.AllowHorizontalResize and PDFVisualAnnotationResizeEventArgs.AllowVerticalResize properties are false then the annotation cannot be resized. This property is not used by PDFDocumentView.AfterAnnotationResize event.
NewSize¶
Gets the annotation's new size.
Property Value
PDFDisplayRectangle
The size of the anotation on the page after it has been resized.
OldSize¶
Gets the annotation's old size.
Property Value
PDFDisplayRectangle
The size of the anotation on the page before it has been resized.
VisualAnnotation¶
Gets the annotation.
Property Value
PDFVisualAnnotation
The annotation that generated the event.