---
title: BETextReplacementOptions
framework: browserenginekit
role: symbol
role_heading: Structure
path: browserenginekit/betextreplacementoptions
---

# BETextReplacementOptions

Options that determine the way your app processes text in webpages.

## Declaration

```swift
struct BETextReplacementOptions
```

## Overview

Overview The BETextInput protocol’s replaceText(_:withText:options:completionHandler:) method takes in instance of this structure as an argument.

## Topics

### Identifying text-replacement options

- [addUnderline](browserenginekit/betextreplacementoptions/addunderline.md)

### Creating text-replacement options

- [init(rawValue:)](browserenginekit/betextreplacementoptions/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [ExpressibleByArrayLiteral](swift/expressiblebyarrayliteral.md)
- [OptionSet](swift/optionset.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [SetAlgebra](swift/setalgebra.md)

## See Also

### Replacements and AutoFill

- [BEAutoFillTextSuggestion](browserenginekit/beautofilltextsuggestion.md)
- [BETextAlternatives](browserenginekit/betextalternatives.md)
- [BETextDocumentContext](browserenginekit/betextdocumentcontext.md)
- [BETextDocumentRequest](browserenginekit/betextdocumentrequest.md)
- [BETextDocumentRequest.Options](browserenginekit/betextdocumentrequest/options-swift.struct.md)
- [BETextSuggestion](browserenginekit/betextsuggestion.md)
