New to Telerik Document ProcessingStart a free 30-day trial

Launch an external application or open a file with the viewer’s associated handler.

Definition

Namespace:Telerik.Windows.Documents.Fixed.Model.Actions

Assembly:Telerik.Windows.Documents.Fixed.dll

Syntax:

C#
public class LaunchAction : Action

Inheritance: objectActionLaunchAction

Constructors

Create an empty launch action.

C#
public LaunchAction()

Create a launch action targeting the specified file.

C#
public LaunchAction(string file)
Parameters:filestring

The path or name of the file to be launched or opened.

Properties

Gets or sets the file to launch or open via the operating system.

C#
public string File { get; set; }
Property Value:

The file path or name.

Gets or sets whether the target should open in a new window when supported.

C#
public bool OpenInNewWindow { get; set; }
Property Value:

true if the file should be opened in a new window; otherwise, false.