# FontName Property

> Returns or sets the font name of a formatting style as a String; for character-based styles an empty string inherits the font from the paragraph style.

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

---

Returns or sets the formatting style's font. For character-based styles this can be an empty string to indicate that the font is inherited from the paragraph style.

### Syntax

```vbscript
Style.FontName [= FontName]
```

### Data Types

String.

### 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:** [FontItalic Property](https://docs.textcontrol.com/tx-text-control-activex/reference/style/fontitalic-property/llms-full.txt)
- **Next:** [FontSize Property](https://docs.textcontrol.com/tx-text-control-activex/reference/style/fontsize-property/llms-full.txt)
