Skip to content

PDFLinkExecuteEventArgs

Namespace: O2S.Components.PDF4NET.View

Defines the parameters for the PDFDocumentView.BeforeLinkExecute and PDFDocumentView.AfterLinkExecute events.

public class PDFLinkExecuteEventArgs : System.EventArgs

Inheritance ObjectEventArgsPDFLinkExecuteEventArgs

Properties

Cancel

Gets or sets a value indicating whether the link should be executed or not.

public bool Cancel { get; set; }

Property Value

Boolean
True if the link should not be executed. Default is false.

Remarks

This property is not used by PDFDocumentView.AfterLinkExecute event.


Gets the link annotation that will be executed.

public PDFLinkAnnotation Link { get; }

Property Value

PDFLinkAnnotation
The link annotation that is about to be executed.