<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 11.0.0 -",
    "macOS: 10.4.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PDFKit",
  "identifier" : "/documentation/PDFKit/PDFAnnotationSubtype",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "PDFKit"
    ],
    "preciseIdentifier" : "c:@T@PDFAnnotationSubtype"
  },
  "title" : "PDFAnnotationSubtype"
}
-->

# PDFAnnotationSubtype

The type of annotation, such as circle, text, or ink.

```
struct PDFAnnotationSubtype
```

## Topics

### Choosing an Annotation Subtype

[`circle`](/documentation/PDFKit/PDFAnnotationSubtype/circle)

An annotation that renders a circle shape.

[`freeText`](/documentation/PDFKit/PDFAnnotationSubtype/freeText)

An annotation that displays an editable text field.

[`highlight`](/documentation/PDFKit/PDFAnnotationSubtype/highlight)

An annotation that highlights text.

[`ink`](/documentation/PDFKit/PDFAnnotationSubtype/ink)

An annotation that represents a freehand scribble.

[`line`](/documentation/PDFKit/PDFAnnotationSubtype/line)

An annotation that displays a single straight line.

[`link`](/documentation/PDFKit/PDFAnnotationSubtype/link)

An annotation that provides a hyperlink to a location in the document, or an action to perform when the user clicks or taps it.

[`popup`](/documentation/PDFKit/PDFAnnotationSubtype/popup)

An annotation that displays text in a pop-up window for entry and editing.

[`square`](/documentation/PDFKit/PDFAnnotationSubtype/square)

An annotation that displays a square shape.

[`stamp`](/documentation/PDFKit/PDFAnnotationSubtype/stamp)

An annotation that displays text or a graphic as if a rubber stamp imprints it on the page.

[`strikeOut`](/documentation/PDFKit/PDFAnnotationSubtype/strikeOut)

An annotation that strikes out text.

[`text`](/documentation/PDFKit/PDFAnnotationSubtype/text)

An annotation that displays a collapsible note that contains text.

[`underline`](/documentation/PDFKit/PDFAnnotationSubtype/underline)

An annotation that underlines text.

[`widget`](/documentation/PDFKit/PDFAnnotationSubtype/widget)

An annotation that displays interactive form elements, including text or signature fields, radio buttons, checkboxes, push buttons, pop-ups, and tables.

### Creating an Annotation Subtype

[`init(rawValue:)`](/documentation/PDFKit/PDFAnnotationSubtype/init(rawValue:))

Creates an annotation subtype using the specified raw string.



---

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)