# FontSize Property

> Returns or sets the font size of a formatting style in twips; for character-based styles a value of 0 inherits the font size from the paragraph style.

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

---

Returns or sets the formatting style's font size, in [twips](https://docs.textcontrol.com/tx-text-control-activex/document-editor/viewing/#measure-in-twips). For character-based styles it can be zero to indicate that the font is inherited from the paragraph style.

### Syntax

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

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