# RemoteGoToAction Class

> A remote go-to action is an action that includes a RemoteDestination object.

- Product: Adobe PDF Library 18
- Language: .NET
- Version: APDFL18.0.5PlusP2e
- HTML page: https://docs.datalogics.com/apdfl18/DotNet/APDFL18.0.5PlusP2e/class/RemoteGoToAction
- Version index: https://docs.datalogics.com/apdfl18/DotNet/APDFL18.0.5PlusP2e/llms.txt

```csharp
class RemoteGoToAction : Action
```

**Namespace:** `Datalogics::PDFL`

**Inherits from:** [`Action`](https://docs.datalogics.com/apdfl18/DotNet/APDFL18.0.5PlusP2e/class/Action.md)

## Description

A remote go-to action is an action that includes a RemoteDestination object.

The action associated with this object, when selected, opens a separate PDF file, or opens a web page in a browser window.

**Referenced by:** [`RemoteGoToAction`](https://docs.datalogics.com/apdfl18/DotNet/APDFL18.0.5PlusP2e/class/RemoteGoToAction.md)

**Uses types:** [`Action`](https://docs.datalogics.com/apdfl18/DotNet/APDFL18.0.5PlusP2e/class/Action.md), [`FileSpecification`](https://docs.datalogics.com/apdfl18/DotNet/APDFL18.0.5PlusP2e/class/FileSpecification.md), [`PDFDict`](https://docs.datalogics.com/apdfl18/DotNet/APDFL18.0.5PlusP2e/class/PDFDict.md), [`RemoteDestination`](https://docs.datalogics.com/apdfl18/DotNet/APDFL18.0.5PlusP2e/class/RemoteDestination.md), [`RemoteGoToAction`](https://docs.datalogics.com/apdfl18/DotNet/APDFL18.0.5PlusP2e/class/RemoteGoToAction.md)

## Constructors

### RemoteGoToAction

```csharp
Datalogics.PDFL.RemoteGoToAction.RemoteGoToAction(FileSpecification fileSpec, RemoteDestination remoteDest)
```

*constructor*

**Parameters**

- `fileSpec` ([`FileSpecification`](https://docs.datalogics.com/apdfl18/DotNet/APDFL18.0.5PlusP2e/class/FileSpecification.md)): A FileSpecification containing the path to the remote document.
- `remoteDest` ([`RemoteDestination`](https://docs.datalogics.com/apdfl18/DotNet/APDFL18.0.5PlusP2e/class/RemoteDestination.md)): A RemoteDestination representing the destination to jump in the remote document.

General constructor.

The action's target will be the path referenced in the FileSpecification parameter. If the path is absolute, the target path will also be absolute. If the path is relative, the target path will also be relative.

Generally, the FileSpecification and RemoteDestination should be associated with the same Document, and this Document should be the same Document that contains the RemoteGoToAction. (All three objects, FileSpecification, RemoteDestination, and RemoteGoToAction, are associated with a Document at creation time, and the association cannot be changed.) The RemoteGoToAction will be associated with the same Document that the RemoteDestination parameter is associated with.

When creating the RemoteGoToAction, the FileSpecification and RemoteDestination given to the constructor must be associated with the same Document, or an exception will be thrown.

## Properties

### FileSpecification

```csharp
FileSpecification Datalogics.PDFL.RemoteGoToAction.FileSpecification { get; set; }
```

### NewWindow

```csharp
bool Datalogics.PDFL.RemoteGoToAction.NewWindow { get; set; }
```

### PDFDict

```csharp
PDFDict Datalogics.PDFL.Action.PDFDict { get; }
```

### RemoteDestination

```csharp
RemoteDestination Datalogics.PDFL.RemoteGoToAction.RemoteDestination { get; set; }
```

### Subtype

```csharp
string Datalogics.PDFL.Action.Subtype { get; }
```

## Methods

### Dispose

```csharp
void Datalogics.PDFL.Action.Dispose()
```

**Returns:** `void`

### Equals

```csharp
override bool Datalogics.PDFL.Action.Equals(object obj)
```

**Parameters**

- `obj` (`object`)

**Returns:** `override bool`

### ToString

```csharp
override string Datalogics.PDFL.Action.ToString()
```

**Returns:** `override string`

A string describing this Action.

Returns a string representation of this Action.

The string includes the action's subtype.
