# Javascript: TXTextControl.PermanentControlChar Enumeration

> Defines a control character which is shown permanently on the screen.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Enumeration
- **Path:** TX Text Control .NET Server > Reference > JavaScript API > Javascript: TXTextControl.PermanentControlChar Enumeration
- **541 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/txtextcontrol/permanentcontrolchar-enumeration/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/txtextcontrol/permanentcontrolchar-enumeration/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/txtextcontrol/permanentcontrolchar-enumeration/llms-full.txt

---

### Description

Defines a control character which is shown permanently on the screen.

### Members

| Member | Description |
|---|---|
| Space | Shows the control character of a space. |
| Tab | Shows the control character of a tabstop. |
| ParagraphEnd | Shows the control character for the end of a paragraph. |
| ForcedLineBreak | Shows the control character of a forced line break. |
| ObjectAnchor | Shows the anchor position of an image, text frame, chart, barcode or drawing. |
| ForcedPageBreak | Marks a forced page break. |
| SectionBreak | Marks a section break. |
| Hyphen | Shows the control character of a hyphen. |
| NonBreakingSpace | Shows the control character of a non-breaking space. |
| TableCellEnd | Shows the control character for the end of a table cell. |
| Pagination | Shows a dot in front of the first line of a paragraph with one of the pagination settings 'keep with next', 'page break before' and 'keep lines together'. |
| All | Shows all control characters. |

### Examples

The following example uses `TXTextControl.PermanentControlChar.Space` (shows the control character of a space.) in a document-editing workflow.

```javascript
function onTxError(error) {
    console.error("TX Text Control error:", error.msg);
    error.handled = true;
}

TXTextControl.setPermanentControlChars(
    TXTextControl.PermanentControlChar.Space,
    function() {
        console.log("set permanent control chars completed.");
    },
    onTxError
);
```

---

## Nearby

- **Previous:** [Javascript: TXTextControl.paragraphStyles Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/txtextcontrol/paragraphstyles-property/llms-full.txt)
- **Next:** [Javascript: TXTextControl.printDocument Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/txtextcontrol/printdocument-method/llms-full.txt)
