# RTFSelText Property

> Sets or returns the selected text as an RTF string with all formatting attributes, unlike SelText, which uses plain ANSI text; used with SelStart and SelLength.

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

---

## On This Page

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

---

## Nearby

- **Previous:** [RightToLeft Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/righttoleft-property/llms.txt)
- **Next:** [RulerHandle Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/rulerhandle-property/llms.txt)
