---
title: kCMTextMarkupAttribute_UnderlineStyle
framework: coremedia
role: symbol
role_heading: Global Variable
path: coremedia/kcmtextmarkupattribute_underlinestyle
---

# kCMTextMarkupAttribute_UnderlineStyle

An underline font style.

## Declaration

```swift
let kCMTextMarkupAttribute_UnderlineStyle: CFString
```

## Discussion

Discussion This attribute’s value must be a CFBoolean. The default is kCFBooleanFalse. If this attribute is kCFBooleanTrue, the system renders the text with an underline style in addition to other styles you use.

## See Also

### Styles

- [kCMTextMarkupAttribute_BoldStyle](coremedia/kcmtextmarkupattribute_boldstyle.md)
- [kCMTextMarkupAttribute_ItalicStyle](coremedia/kcmtextmarkupattribute_italicstyle.md)
- [kCMTextMarkupAttribute_CharacterEdgeStyle](coremedia/kcmtextmarkupattribute_characteredgestyle.md)
