---
title: "changeLayoutOrientation(_:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nstextview/changelayoutorientation(_:)"
---

# changeLayoutOrientation(_:)

An action method that sets the layout orientation of the text.

## Declaration

```swift
func changeLayoutOrientation(_ sender: Any?)
```

## Parameters

- `sender`: The sender.

## Discussion

Discussion Calls setLayoutOrientation(_:) with the sender’s tag as the orientation.

## See Also

### Changing layout orientation

- [setLayoutOrientation(_:)](appkit/nstextview/setlayoutorientation(_:).md)
