---
title: "init(rawValue:)"
framework: browserenginekit
role: symbol
role_heading: Initializer
path: "browserenginekit/betextdocumentrequest/options-swift.struct/init(rawvalue:)"
---

# init(rawValue:)

Initializes an options instance for a text document request with the specified raw value.

## Declaration

```swift
init(rawValue: Int)
```
