# Javascript: TXTextControl.TabType Enumeration

> Determines the tabulator type.

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

---

### Description

Determines the tabulator type.

### Members

| Member | Description |
|---|---|
| LeftTab | The tab position is at the left side of the text. |
| RightTab | The tab position is at the right side of the text. |
| CenterTab | The text is centered to the tab position. |
| DecimalTab | The decimal sign is aligned at the tab position. |
| RightBorderTab | The tab is positioned right most and the text is diplayed at the left of this position. The tab position set with the TabPositions property is ignored. Only one tab of this kind is possible in a paragraph. |

### Examples

The following example uses `TXTextControl.TabType.LeftTab` (the tab position is at the left side of the text.) in a document-editing workflow.

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

TXTextControl.paragraphFormat.setTabTypes(
    TXTextControl.TabType.LeftTab,
    function() {
        console.log("set tab types completed.");
    },
    onTxError
);
```

---

## Nearby

- **Previous:** [Javascript: TXTextControl.tableGridLines Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/txtextcontrol/tablegridlines-property/llms-full.txt)
- **Next:** [TXTextControl.TextField Object](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/javascript/txtextcontrol-textfield/llms-full.txt)
