# AutoBaseLine Property

> Sets automatic sub- or superscript for a Style as a Long: txSuperscript, txSubscript, txSuperscriptUpperEdge and txSubscriptBaseline for diagonal fractions.

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

---

Returns or sets values specifying automatic sub- or superscripted text. 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/style/baseline-property/llms-full.txt) property.

Introduced: 30.0.

### Syntax

```vbscript
Style.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: Stylesheet Programming](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/stylesheet-programming/llms-full.txt)

---

## Nearby

- **Previous:** [Apply Method](https://docs.textcontrol.com/tx-text-control-activex/reference/style/apply-method/llms-full.txt)
- **Next:** [Baseline Property](https://docs.textcontrol.com/tx-text-control-activex/reference/style/baseline-property/llms-full.txt)
