# GetLineRect Method

> Returns the rectangle of a text line, without external leading, line spacing or indents, as an array of 4 Long values (left, top, right, bottom) in twips.

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

---

## On This Page

- [Syntax](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/getlinerect-method/#syntax)
- [Parameters](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/getlinerect-method/#parameters)
- [Return Value](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/getlinerect-method/#return-value)
- [Data Types](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/getlinerect-method/#data-types)
- [See Also](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/getlinerect-method/#see-also)

---

## Nearby

- **Previous:** [GetLineFromPoint Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/getlinefrompoint-method/llms.txt)
- **Next:** [GetTextExtent Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/gettextextent-method/llms.txt)
