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

# init(rawValue:)

Creates a widget subtype using the specified raw string value.

## Declaration

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

## Parameters

- `rawValue`: The raw string value for the widget subtype.
