# GoToR Actions

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

RadPdfProcessing provides **partial** support for **GoToR actions**. A *remote go-to* action is similar to an ordinary go-to action but jumps to a destination in another PDF file instead of the current file. The `GoToRAction` 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. |
| `Destination`     | Gets or sets the named destination for the action.                                                                                                     |

> caution RadPdfProcessing supports **only** preserving the GoToR actions during import and export operations.

> note Remote go-to actions cannot be used with embedded files.

## Adding a GoToR Action to a Document

The following example shows how to create a PDF document and add a `GoToRAction` 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:

> important Navigating to a specific destination is not supported with the current implementation.

```C#

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

Telerik.Documents.Fixed.Model.Actions.GoToRAction goToAction = new Telerik.Documents.Fixed.Model.Actions.GoToRAction()
{
    OpenInNewWindow = true,
    File = @"document_to_open.pdf",
};

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

```

## 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)
* [LaunchAction](https://www.telerik.com/document-processing-libraries/documentation/libraries/radpdfprocessing/model/actions/launch-actions)
