# Cell.formatText Method

> Cell.formatText method in the TX Sheet Control TypeScript API for the browser: Zero-based UTF-16 offsets, matching JavaScript and .NET string indices.

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

---

## On This Page

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

---

## Nearby

- **Previous:** [Cell.format Method](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/cell/format-method/llms.txt)
- **Next:** [Cell.formula Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/cell/formula-property/llms.txt)
