# Cell.setRichText Method

> Cell.setRichText method in the TX Sheet Control TypeScript API for the browser: Write literal text containing independently styled runs.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Method
- **Path:** TX Sheet Control > API Reference > TypeScript API > Browser Editor > Cell > Cell.setRichText Method
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/cell/setrichtext-method/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/cell/setrichtext-method/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/cell/setrichtext-method/llms-full.txt

---

## On This Page

- [Syntax](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/cell/setrichtext-method/#syntax)
- [Parameters](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/cell/setrichtext-method/#parameters)
- [Return Value](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/cell/setrichtext-method/#return-value)
- [Exceptions](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/cell/setrichtext-method/#exceptions)
- [Examples](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/cell/setrichtext-method/#examples)
- [Remarks](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/cell/setrichtext-method/#remarks)
- [See Also](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/cell/setrichtext-method/#see-also)

---

## Nearby

- **Previous:** [Cell.setPicture Method](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/cell/setpicture-method/llms.txt)
- **Next:** [Cell.setText Method](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/cell/settext-method/llms.txt)
