# Line and Character Operations

> Map character positions, line numbers and screen coordinates in TXTextControl with GetLineFromChar, GetCharFromLine, GetLineRect and GetCharRect.

- **Product:** TX Text Control ActiveX
- **Section:** Documentation
- **Kind:** Topic
- **Path:** TX Text Control ActiveX > API Reference > Programming Categories > Line and Character Operations
- **Web URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/categories/line-character/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/categories/line-character/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/categories/line-character/llms-full.txt

---

## On This Page

- [Methods](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/line-character/#methods)
- [Related Pages](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/line-character/#related-pages)

---

## Nearby

- **Previous:** [Search and Replace](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/search-replace/llms.txt)
- **Next:** [Control Settings](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/control-settings/llms.txt)
