# SelText Property

> Sets or returns the selected text as a plain string; setting it replaces the selection and sets SelLength to 0. Used with SelStart and SelLength to edit text.

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

---

## On This Page

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

---

## Nearby

- **Previous:** [SelStart Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/selstart-property/llms.txt)
- **Next:** [ShrinkFont Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/shrinkfont-method/llms.txt)
