# StyleName Property

> Returns or sets the name of a formatting style as a String through the Style object; for XML documents the StyleName property is read only. Run time only.

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

---

Returns or sets the formatting style's name. For XML documents this property is read-only.

### Syntax

```vbscript
Style.StyleName [= StyleName]
```

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