Apitron.PDF.Kit library for .NET
Assembly: Apitron.PDF.Kit (in Apitron.PDF.Kit.dll) Version: 2.0.37.0 (2.0.37.0)
Initializes a new instance of the LaunchAction class.
Namespace: Apitron.PDF.Kit.Interactive.Actions
Assembly: Apitron.PDF.Kit (in Apitron.PDF.Kit.dll) Version: 2.0.37.0 (2.0.37.0)
Syntax
Parameters
- fileName
- Type: SystemString
The file name of the application that shall be launched or the document that shall be opened or printed, in standard Windows pathname format.
Examples
C#
LinkAnnotation link = new LinkAnnotation(new Boundary(50, 600, 150, 640)); LaunchAction launchAction = new LaunchAction("Acrobat.exe"); launchAction.DefaultDirectory = Environment.CurrentDirectory; launchAction.ApplicationParameters = "./Documents/Simple.pdf"; launchAction.NewWindow = true; launchAction.PrintDocument = false; link.Action = launchAction;
See Also