---
title: verticalAlignment
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nstextblock/verticalalignment-swift.property
---

# verticalAlignment

The vertical alignment of the text block.

## Declaration

```swift
var verticalAlignment: NSTextBlock.VerticalAlignment { get set }
```

## See Also

### Getting and setting alignment

- [NSTextBlock.VerticalAlignment](appkit/nstextblock/verticalalignment-swift.enum.md)
