---
title: destination()
framework: pdfkit
role: symbol
role_heading: Instance Method
path: pdfkit/pdfannotationlink/destination()
---

# destination()

Gets the destination for the link when the destination was specified as a PDFDestination object.

## Declaration

```swift
func destination() -> PDFDestination!
```

## See Also

### Working with link destinations

- [setDestination(_:)](pdfkit/pdfannotationlink/setdestination(_:).md)
- [url()](pdfkit/pdfannotationlink/url().md)
- [setURL(_:)](pdfkit/pdfannotationlink/seturl(_:).md)
