# FontUnderline Property

> Returns or sets the underlining of a formatting style as flags: single, double, words only, red zigzag line, or &H10 to inherit it from the paragraph style.

- **Product:** TX Text Control ActiveX
- **Section:** Documentation
- **Kind:** Property
- **Path:** TX Text Control ActiveX > API Reference > Style > FontUnderline Property
- **194 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/style/fontunderline-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/style/fontunderline-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/style/fontunderline-property/llms-full.txt

---

Returns or sets the formatting style's underlining attributes.

### Syntax

```vbscript
Style.FontUnderline [= value]
```

| Setting | Description |
|---|---|
| 0 | The text is not underlined. |
| &H1 | The text is single underlined. |
| &H2 | The text is double underlined. |
| &H4 | Only words are underlined. This value is possible only in combination with single or double underlined. |
| &H8 | The text is underlined with a red zigzag line. |
| &H10 | Indicates that the underlining attribute is inherited from the paragraph's style. This value is possible only for character-based styles. |

### Data Types

Integer.

### Limitations

Run time only.

### See Also

- [Programming Category: Stylesheet Programming](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/stylesheet-programming/llms-full.txt)

---

## Nearby

- **Previous:** [FontStrikethru Property](https://docs.textcontrol.com/tx-text-control-activex/reference/style/fontstrikethru-property/llms-full.txt)
- **Next:** [ForeColor Property](https://docs.textcontrol.com/tx-text-control-activex/reference/style/forecolor-property/llms-full.txt)
