<!--
{
  "availability" : [
    "macOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSLayoutManager/TextLayoutOrientation",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:@E@NSTextLayoutOrientation"
  },
  "title" : "NSLayoutManager.TextLayoutOrientation"
}
-->

# NSLayoutManager.TextLayoutOrientation

Constants that describe the text layout orientation.

```
enum TextLayoutOrientation
```

## Topics

### Constants

[`NSLayoutManager.TextLayoutOrientation.horizontal`](/documentation/AppKit/NSLayoutManager/TextLayoutOrientation/horizontal)

Lines render horizontally, each line following the previous from top to bottom.

[`NSLayoutManager.TextLayoutOrientation.vertical`](/documentation/AppKit/NSLayoutManager/TextLayoutOrientation/vertical)

Lines render vertically, each line following the previous from right to left.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)