---
title: PDFActionGoTo
framework: pdfkit
role: symbol
role_heading: Class
path: pdfkit/pdfactiongoto
---

# PDFActionGoTo

PDFActionGoTo, a subclass of PDFAction, defines methods for getting and setting the destination of a go-to action.

## Declaration

```swift
class PDFActionGoTo
```

## Overview

Overview A PDFActionGoTo object represents the action of going to a specific location within the PDF document.

## Topics

### Accessing the Destination

- [destination](pdfkit/pdfactiongoto/destination.md)

### Initializing the Action

- [init(destination:)](pdfkit/pdfactiongoto/init(destination:).md)

## Relationships

### Inherits From

- [PDFAction](pdfkit/pdfaction.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Action Types

- [PDFActionNamed](pdfkit/pdfactionnamed.md)
- [PDFActionRemoteGoTo](pdfkit/pdfactionremotegoto.md)
- [PDFActionResetForm](pdfkit/pdfactionresetform.md)
- [PDFActionURL](pdfkit/pdfactionurl.md)
- [PDFActionNamedName](pdfkit/pdfactionnamedname.md)
