'Declaration<CategoryAttribute("PDF")> <DescriptionAttribute("The event that is fired when an annotation context menu should be displayed")> Public Event AnnotationContextMenu As EventHandler(Of PDFVisualAnnotationClickEventArgs)
'UsageDim instance As PDFDocumentView Dim handler As EventHandler(Of PDFVisualAnnotationClickEventArgs) AddHandler instance.AnnotationContextMenu, handler
[Category("PDF")] [Description("The event that is fired when an annotation context menu should be displayed")] public event EventHandler<PDFVisualAnnotationClickEventArgs> AnnotationContextMenu
[Category("PDF")] [Description("The event that is fired when an annotation context menu should be displayed")] public: event EventHandler<PDFVisualAnnotationClickEventArgs^>^ AnnotationContextMenu
Event Data
The event handler receives an argument of type PDFVisualAnnotationClickEventArgs containing data related to this event. The following PDFVisualAnnotationClickEventArgs properties provide information specific to this event.
| Property | Description |
|---|---|
| Button | Gets the mouse button the has been clicked. |
| Location | Gets the location of the mouse during the generating mouse event. |
| PageStandardPoint | Gets the page standard point. |
| PageVisualPoint | Gets the page visual point. |
| VisualAnnotation | 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