---
title: "removeFontStyle(in:)"
framework: avfoundation
role: symbol
role_heading: Instance Method
path: "avfoundation/avmutablecaption/removefontstyle(in:)"
---

# removeFontStyle(in:)

Removes a font style from a range of text.

## Declaration

```swift
@nonobjc func removeFontStyle(in range: NSRange)
```

## Parameters

- `range`: The range from which to remove the style.

## See Also

### Configuring font styles

- [AVCaption.FontStyle](avfoundation/avcaption/fontstyle.md)
- [setFontStyle(_:in:)](avfoundation/avmutablecaption/setfontstyle(_:in:).md)
- [AVCaption.FontWeight](avfoundation/avcaption/fontweight.md)
- [setFontWeight(_:in:)](avfoundation/avmutablecaption/setfontweight(_:in:).md)
- [removeFontWeight(in:)](avfoundation/avmutablecaption/removefontweight(in:).md)
- [AVCaption.Decoration](avfoundation/avcaption/decoration.md)
- [setDecoration(_:in:)](avfoundation/avmutablecaption/setdecoration(_:in:).md)
- [removeDecoration(in:)](avfoundation/avmutablecaption/removedecoration(in:).md)
