# Javascript: TXTextControl.controlChars Property

> Obsolete. This property will be removed in one of the next versions. Gets or sets whether control characters are visible.

> **Note:** This is deprecated and should not be used in new work.

- **Product:** DS Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 24.0
- **Path:** DS Server > Reference > JavaScript API > Javascript: TXTextControl.controlChars Property
- **160 words**
- **Web URL:** https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol/controlchars-property/
- **LLMs URL:** https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol/controlchars-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol/controlchars-property/llms-full.txt

---

### Description

`Obsolete. This property will be removed in one of the next versions.` Gets or sets whether control characters are visible.

### Syntax

```javascript
<boolean> TXTextControl.controlChars
```

### Examples

The following example demonstrates `TXTextControl.controlChars` in a practical document-editing workflow. Obsolete. This property will be removed in one of the next versions. Gets or sets whether control characters are visible.

```javascript
const controlChars = tXTextControl.controlChars;
console.log("control chars:", controlChars);
```

---

## Nearby

- **Previous:** [Javascript: TXTextControl.ControlChars Enumeration](https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol/controlchars-enumeration/llms-full.txt)
- **Next:** [TXTextControl.DateField Object](https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol-datefield/llms-full.txt)
