# Device Property

> Returns or sets the device the document is formatted for: 1 for the screen, 2 for the standard printer (default) or the name of an installed printer.

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

---

## On This Page

- [Syntax](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/device-property/#syntax)
- [Data Types](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/device-property/#data-types)
- [Limitations](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/device-property/#limitations)
- [See Also](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/device-property/#see-also)

---

## Nearby

- **Previous:** [DecreaseIndent Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/decreaseindent-method/llms.txt)
- **Next:** [DisplayColor Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/displaycolor-property/llms.txt)
