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

# url()

Gets the destination for the link when the destination was specified as a URL.

## Declaration

```swift
func url() -> URL!
```

## See Also

### Working with link destinations

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