
## BaselineAlignment enumeration

Specifies fonts vertical position on a line.


### Members

| Name | Description |
| --- | --- |
| TOP | Aligns along the top of each font. |
| CENTER | Aligns the center points of each font. |
| BASELINE | Aligns to the baseline of the paragraph. |
| BOTTOM | Aligns to the bottom of each font. |
| AUTO | Baseline is adjusted automatically. |

### Examples

Shows how to set fonts vertical position on a line.

```python
doc = aw.Document(file_name=MY_DIR + 'Office math.docx')
format = doc.first_section.body.paragraphs[0].paragraph_format
if format.baseline_alignment == aw.BaselineAlignment.AUTO:
    format.baseline_alignment = aw.BaselineAlignment.TOP
doc.save(file_name=ARTIFACTS_DIR + 'ParagraphFormat.ParagraphBaselineAlignment.docx')
```

### See Also

* module [aspose.words](../)

