# FormatSelection Property

> Sets whether character and paragraph formatting properties such as FontBold, FontSize, Alignment and LineSpacing apply to the selection or the whole text.

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

---

## On This Page

- [Syntax](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/formatselection-property/#syntax)
- [Data Types](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/formatselection-property/#data-types)
- [Remarks](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/formatselection-property/#remarks)
- [See Also](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/formatselection-property/#see-also)

---

## Nearby

- **Previous:** [ForeColor Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/forecolor-property/llms.txt)
- **Next:** [FormCheckBoxInsert Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/formcheckboxinsert-method/llms.txt)
