LinkAnnotationAction Property

Apitron PDF Kit help
Apitron.PDF.Kit library for .NET
Gets or sets an action that shall be performed when the link annotation is activated

Namespace:  Apitron.PDF.Kit.Interactive.Annotations
Assembly:  Apitron.PDF.Kit (in Apitron.PDF.Kit.dll) Version: 2.0.37.0 (2.0.37.0)
Syntax

public Action Action { get; set; }

Property Value

Type: Action
The action.
Examples

C#
LinkAnnotation link = new LinkAnnotation( new Boundary(10, 170, 100, 190), AnnotationFlags.Locked, new AnnotationBorderStyle(5, AnnotationBorderType.Beveled));
link.Action = new JavaScriptAction("app.alert('This is JS alert!');");
See Also

Reference