# Launch Actions

| Minimum Version | Q2 2025 |
| --------------- | ------- |

RadPdfProcessing supports **Launch actions** that PDF viewer applications are expected to support. A launch action launches an application or opens or prints a document. The `LaunchAction` class offers the following public properties:

| Property          | Description                                                                                                                                            |
| ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `File`            | Gets or sets the remote file for the action.                                                                                                           |
| `OpenInNewWindow` | Gets or sets a value indicating whether to open the destination document in a new window. Set to `true` to open in a new window, or `false` otherwise. |

## Adding a Launch Action to a Document

The following example shows how to create a PDF document and add a `LaunchAction` to a [Link annotation](https://www.telerik.com/document-processing-libraries/documentation/libraries/radpdfprocessing/model/annotations/links) that opens another PDF document in a new window:

```C#
RadFixedDocument document = new RadFixedDocument();
RadFixedPage page = new RadFixedPage();
document.Pages.Add(page);

Telerik.Documents.Fixed.Model.Actions.LaunchAction launchAction = new Telerik.Documents.Fixed.Model.Actions.LaunchAction()
{              
    OpenInNewWindow = true,
    File = "destination.pdf",
};

Telerik.Documents.Fixed.Model.Annotations.Link annot = page.Annotations.AddLink(launchAction);
annot.Rect = new Rect(10, 10, 50, 50);
```

![Create LaunchAction result showing a link that opens an external PDF](https://www.telerik.com/document-processing-libraries/documentation/assets/ca0f6ce1685c15230b61f8333608aa03/pdf-processing-create-launch-action.png)

## See Also

* [PDF Link Annotations](https://www.telerik.com/document-processing-libraries/documentation/libraries/radpdfprocessing/model/annotations/links)
* [PDF Actions Overview](https://www.telerik.com/document-processing-libraries/documentation/libraries/radpdfprocessing/model/actions/overview)
* [PDF Annotations Overview](https://www.telerik.com/document-processing-libraries/documentation/libraries/radpdfprocessing/model/annotations/overview)
* [GoToRAction](https://www.telerik.com/document-processing-libraries/documentation/libraries/radpdfprocessing/model/actions/gotor-actions)
