# Javascript: FormattingStyle.getAutoBaseline Method

> Gets 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 property.

- **Product:** DS Server
- **Section:** Reference
- **Kind:** Method
- **Introduced:** 30.0
- **Path:** DS Server > Reference > JavaScript API > Javascript: FormattingStyle.getAutoBaseline Method
- **Web URL:** https://docs.textcontrol.com/ds-server/reference/javascript/formattingstyle/getautobaseline-method/
- **LLMs URL:** https://docs.textcontrol.com/ds-server/reference/javascript/formattingstyle/getautobaseline-method/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/ds-server/reference/javascript/formattingstyle/getautobaseline-method/llms-full.txt

---

## On This Page

- [Description](https://docs.textcontrol.com/ds-server/reference/javascript/formattingstyle/getautobaseline-method/#description)
- [Syntax](https://docs.textcontrol.com/ds-server/reference/javascript/formattingstyle/getautobaseline-method/#syntax)
- [Parameters](https://docs.textcontrol.com/ds-server/reference/javascript/formattingstyle/getautobaseline-method/#parameters)
- [Examples](https://docs.textcontrol.com/ds-server/reference/javascript/formattingstyle/getautobaseline-method/#examples)

---

## Nearby

- **Previous:** [Javascript: FormattingStyle.apply Method](https://docs.textcontrol.com/ds-server/reference/javascript/formattingstyle/apply-method/llms.txt)
- **Next:** [Javascript: FormattingStyle.getBaseline Method](https://docs.textcontrol.com/ds-server/reference/javascript/formattingstyle/getbaseline-method/llms.txt)
