<!--
{
  "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.

## Relationships

### Inherits From

[`PDFAnnotation`](/documentation/PDFKit/PDFAnnotation)

### Conforms To

[`Hashable`](/documentation/Swift/Hashable)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`NSCopying`](/documentation/Foundation/NSCopying)

[`NSCoding`](/documentation/Foundation/NSCoding)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`CVarArg`](/documentation/Swift/CVarArg)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`Equatable`](/documentation/Swift/Equatable)

---

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)