# FontUnderlineStyle Property

> Sets the TXTextControl underline style: single, double or words only (&H1, &H2, &H4); &H10, &H20 and &H40 are returned for selections with mixed styles.

- **Product:** TX Text Control ActiveX
- **Section:** Documentation
- **Kind:** Property
- **Path:** TX Text Control ActiveX > API Reference > TXTextControl > FontUnderlineStyle Property
- **315 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fontunderlinestyle-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fontunderlinestyle-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fontunderlinestyle-property/llms-full.txt

---

This property determines styles for the [FontUnderline](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fontunderline-property/llms-full.txt) property.

### Syntax

```vbscript
TXTextControl.FontUnderlineStyle [= value]
```

| Setting | Description |
|---|---|
| &H1 | Underline style is single underlined. |
| &H2 | Underline style is double underlined. |
| &H4 | Underline style is words only underlined. This value is possible only in combination with single or double underlined. |
| &H10 | The text contains single underlined parts. |
| &H20 | The text contains double underlined parts. |
| &H40 | The text contains parts that are underlined words only. |

### Data Types

Integer.

### Limitations

Run time only.

### Remarks

The first group of values describes the underline styles. The second group are additional values that are only useful for the property return value. They inform about complex selections and are possible only when the [FormatSelection](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/formatselection-property/llms-full.txt) property has been set to True.

### See Also

- [FontUnderline Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fontunderline-property/llms-full.txt)
- [FormatSelection Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/formatselection-property/llms-full.txt)
- [Programming Category: Character Formatting](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/character-formatting/llms-full.txt)

---

## Nearby

- **Previous:** [FontUnderline Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/fontunderline-property/llms-full.txt)
- **Next:** [FootnoteCreated Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/footnotecreated-event/llms-full.txt)
