Class LaunchAction
A launch action (spec §12.6.4.5) that launches an application or opens a file. The behaviour is platform-dependent and controlled by the viewer.
Inherited Members
Namespace: DRIT.Pdf.Actions
Assembly: DRIT.Pdf.dll
Syntax
public sealed class LaunchAction : PdfAction
Constructors
LaunchAction(string)
Creates a launch action that opens the specified file.
Declaration
public LaunchAction(string filePath)
Parameters
| Type | Name | Description |
|---|---|---|
| string | filePath | The path of the file to open. |
Properties
FilePath
The file to launch or open.
Declaration
public string FilePath { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
NewWindow
Open the file in a new window. Null = viewer default.
Declaration
public bool? NewWindow { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
Type
The action subtype identifying this action's type.
Declaration
public override ActionType Type { get; }
Property Value
| Type | Description |
|---|---|
| ActionType |