# InputPosFromPoint Method

> Returns the zero-based text input position at a point given in twips in the visible part of the TXTextControl text, or -1 if no text position could be found.

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

---

## On This Page

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

---

## Nearby

- **Previous:** [IndentT Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/indentt-property/llms.txt)
- **Next:** [InsertionMode Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/insertionmode-property/llms.txt)
