'Declaration<CategoryAttribute("PDF")> <DescriptionAttribute("The event that is fired when an annotation is about to be resized")> Public Event BeforeAnnotationResize As EventHandler(Of PdfVisualAnnotationResizeEventArgs)
'UsageDim instance As PdfDocumentView Dim handler As EventHandler(Of PdfVisualAnnotationResizeEventArgs) AddHandler instance.BeforeAnnotationResize, handler
[Category("PDF")] [Description("The event that is fired when an annotation is about to be resized")] public event EventHandler<PdfVisualAnnotationResizeEventArgs> BeforeAnnotationResize
[Category("PDF")] [Description("The event that is fired when an annotation is about to be resized")] public: event EventHandler<PdfVisualAnnotationResizeEventArgs^>^ BeforeAnnotationResize
Event Data
The event handler receives an argument of type PdfVisualAnnotationResizeEventArgs containing data related to this event. The following PdfVisualAnnotationResizeEventArgs properties provide information specific to this event.
| Property | Description |
|---|---|
| AllowHorizontalResize | Gets or sets a value indicating whether the resize operation should be allowed on horizontal. |
| AllowVerticalResize | Gets or sets a value indicating whether the resize operation should be allowed on vertical. |
| NewSize | Gets the annotation's new size. |
| OldSize | Gets the annotation's old size. |
| VisualAnnotation | Gets the annotation. (Inherited from Xfinium.Pdf.View.PdfVisualAnnotationEventArgs) |
Requirements
Supported .NET Platforms: .NET 4.0 and higher, Windows Presentation Foundation 4.x
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