---
title: layoutOrientation
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nstextlayoutorientationprovider/layoutorientation
---

# layoutOrientation

The default layout orientation.

## Declaration

```swift
var layoutOrientation: NSLayoutManager.TextLayoutOrientation { get }
```

## Discussion

Discussion This property contains the default layout orientation for text in the object that adopts the protocol. If the text contains an explicit verticalGlyphForm attribute, that attribute overrides the value in this property. When rendering, TextKit assumes the coordinate system is appropriately rotated.

## See Also

### Getting layout orientation

- [NSLayoutManager.TextLayoutOrientation](appkit/nslayoutmanager/textlayoutorientation.md)
