'Declaration<CategoryAttribute("PDF")> <DescriptionAttribute("The event that is fired before a link is executed")> Public Event BeforeLinkExecute As EventHandler(Of PdfLinkExecuteEventArgs)
'UsageDim instance As PdfDocumentView Dim handler As EventHandler(Of PdfLinkExecuteEventArgs) AddHandler instance.BeforeLinkExecute, handler
[Category("PDF")] [Description("The event that is fired before a link is executed")] public event EventHandler<PdfLinkExecuteEventArgs> BeforeLinkExecute
[Category("PDF")] [Description("The event that is fired before a link is executed")] public: event EventHandler<PdfLinkExecuteEventArgs^>^ BeforeLinkExecute
Event Data
The event handler receives an argument of type PdfLinkExecuteEventArgs containing data related to this event. The following PdfLinkExecuteEventArgs properties provide information specific to this event.
| Property | Description |
|---|---|
| Cancel | Gets or sets a value indicating whether the link should be executed or not. |
| Link | Gets the link annotation that will be executed. |
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