# Javascript: TXTextControl.ListFormatCharacter Enumeration

> Specifies the list format character.

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

---

### Description

Specifies the list format character.

### Members

| Member | Description |
|---|---|
| None | The text of the list immediately follows the bullet or number character. |
| Tab | The text of the list follows the bullet or number character at the next tab position. |
| Space | The text of the list follows the bullet or number character separated through a space character. |

### Examples

The following example uses `TXTextControl.ListFormatCharacter.Tab` (the text of the list follows the bullet or number character at the next tab position.) in a document-editing workflow.

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

TXTextControl.listFormat.setFormatCharacter(
    TXTextControl.ListFormatCharacter.Tab,
    function() {
        console.log("set format character completed.");
    },
    onTxError
);
```

---

## Nearby

- **Previous:** [Javascript: TXTextControl.listFormat Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/txtextcontrol/listformat-property/llms-full.txt)
- **Next:** [Javascript: TXTextControl.ListType Enumeration](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/txtextcontrol/listtype-enumeration/llms-full.txt)
