<!--
{
  "availability" : [
    "macOS: 10.4.0 - 10.12.0"
  ],
  "documentType" : "symbol",
  "framework" : "PDFKit",
  "identifier" : "/documentation/PDFKit/PDFAnnotationLink",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "PDFKit"
    ],
    "preciseIdentifier" : "c:objc(cs)PDFAnnotationLink"
  },
  "title" : "PDFAnnotationLink"
}
-->

# PDFAnnotationLink

```
class PDFAnnotationLink
```

## Overview

A PDFAnnotationLink object represents either a hypertext link to another location in the document (specified as a PDFDestination object) or a URL.

## Topics

### Working with link destinations

[`destination()`](/documentation/PDFKit/PDFAnnotationLink/destination())

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

[`setDestination(_:)`](/documentation/PDFKit/PDFAnnotationLink/setDestination(_:))

Sets the destination for the link as a PDFDestination object.

[`url()`](/documentation/PDFKit/PDFAnnotationLink/url())

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

[`setURL(_:)`](/documentation/PDFKit/PDFAnnotationLink/setURL(_:))

Sets the destination for the link as a URL.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)