---
title: layoutDirection
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsimagerep/layoutdirection
---

# layoutDirection

The layout direction for the image.

## Declaration

```swift
var layoutDirection: NSImage.LayoutDirection { get set }
```

## Discussion

Discussion For possible values, see NSImage.LayoutDirection. The default value for new image representation objects is NSImage.LayoutDirection.unspecified.

## See Also

### Specifying Information About the Representation

- [bitsPerSample](appkit/nsimagerep/bitspersample.md)
- [colorSpaceName](appkit/nsimagerep/colorspacename.md)
- [hasAlpha](appkit/nsimagerep/hasalpha.md)
- [isOpaque](appkit/nsimagerep/isopaque.md)
- [pixelsHigh](appkit/nsimagerep/pixelshigh.md)
- [pixelsWide](appkit/nsimagerep/pixelswide.md)
- [Device-Specific Value](appkit/device-specific-value.md)
