# Javascript: TXTextControl.InsertionMode Enumeration

> Determines how text is inserted at the current input position when text is typed or inserted.

- **Product:** DS Server
- **Section:** Reference
- **Kind:** Enumeration
- **Introduced:** 34.0
- **Path:** DS Server > Reference > JavaScript API > Javascript: TXTextControl.InsertionMode Enumeration
- **Web URL:** https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol/insertionmode-enumeration/
- **LLMs URL:** https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol/insertionmode-enumeration/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol/insertionmode-enumeration/llms-full.txt

---

## On This Page

- [Description](https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol/insertionmode-enumeration/#description)
- [Members](https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol/insertionmode-enumeration/#members)
- [Examples](https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol/insertionmode-enumeration/#examples)

---

## Nearby

- **Previous:** [Javascript: TXTextControl.inputPosition Property](https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol/inputposition-property/llms.txt)
- **Next:** [Javascript: TXTextControl.isHyphenationEnabled Property](https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol/ishyphenationenabled-property/llms.txt)
