# AutoBaseLine Property

> Sets automatic superscript or subscript for the selected text with font-defined scaling, including upper-edge and baseline variants for diagonal fractions.

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

---

Returns or sets values specifying whether the selected text is automatically sub- or superscripted. When using automatic sub- and superscript the font is scaled and moved above or below the baseline with values defined through the font itself. Automatic sub- and superscript can be combined with a user-defined baseline which can be set with the [Baseline](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/baseline-property/llms-full.txt) property.

Introduced: 30.0.

### Syntax

```vbscript
TXTextControl.AutoBaseLine [= value]
```

| Setting | Description |
|---|---|
| txNoSubSuperscript | Text is not sub- or superscripted. |
| txSuperscript | Text is moved above the baseline. |
| txSubscript | Text is moved below the baseline. |
| txSuperscriptUpperEdge | Text is scaled and moved above the baseline. The moved text does not extend above the upper edge of capital letters. This can be used for nominators of diagonal fractions. |
| txSubscriptBaseline | Text is scaled, but is not moved below the baseline. This can be used for denominators of diagonal fractions. |

### Data Types

Long.

### See Also

- [Programming Category: Character Formatting](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/character-formatting/llms-full.txt)

---

## Nearby

- **Previous:** [AppendFromMemory Method](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/appendfrommemory-method/llms-full.txt)
- **Next:** [AutoExpand Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/autoexpand-property/llms-full.txt)
