---
title: textStylingResolution
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avplayeritemlegibleoutput/textstylingresolution-swift.property
---

# textStylingResolution

A string identifier indicating the degree of text styling to be applied to attributed strings vended by the  object.

## Declaration

```swift
var textStylingResolution: AVPlayerItemLegibleOutput.TextStylingResolution { get set }
```

## Discussion

Discussion Valid values are described in Text Style Settings.  An exception (invalidArgumentException) is raised if this property is set to any other value. The default value is default, which indicates that attributed strings vended by the receiver includes the same level of styling information that would be used if the text was rendered by an instance of AVPlayerLayer. note: This is an advanced feature and you should rarely need to change it from the default value.

## See Also

### Configuring text styling

- [AVPlayerItemLegibleOutput.TextStylingResolution](avfoundation/avplayeritemlegibleoutput/textstylingresolution-swift.struct.md)
