---
title: "init(rawValue:)"
framework: pdfkit
role: symbol
role_heading: Initializer
path: "pdfkit/pdfannotationsubtype/init(rawvalue:)"
---

# init(rawValue:)

Creates an annotation subtype using the specified raw string.

## Declaration

```swift
init(rawValue: String)
```

## Parameters

- `rawValue`: The raw string of the annotation subtype.
