# GoToAction Class

> A go-to action can be executed in a PDF document.

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

```csharp
class GoToAction : Action
```

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

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

## Description

A go-to action can be executed in a PDF document.

A go-to action includes a hyperlink that, when clicked, takes the reader to a different place within the same document.

The action is linked to a bookmark within the document.

A remote go-to action includes a hyperlink that takes the reader to a destination in a separate document.

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

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

## Constructors

### GoToAction

```csharp
Datalogics.PDFL.GoToAction.GoToAction(ViewDestination dest)
```

*constructor*

**Parameters**

- `dest` ([`ViewDestination`](https://docs.datalogics.com/apdfl18/DotNet/APDFL18.0.5PlusP2e/class/ViewDestination.md)): The ViewDestination contained in this class.

General constructor

## Properties

### Destination

```csharp
ViewDestination Datalogics.PDFL.GoToAction.Destination { get; set; }
```

### PDFDict

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

### 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.
