---
title: imageAlignment
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsimagecell/imagealignment
---

# imageAlignment

The alignment of the receiver’s image relative to its frame.

## Declaration

```swift
var imageAlignment: NSImageAlignment { get set }
```

## Discussion

Discussion For a list of possible values, see NSImageAlignment. The default value is NSImageAlignCenter.

## See Also

### Related Documentation

- [NSImageCell](appkit/nsimagecell.md)

### Aligning and Scaling the Image

- [imageScaling](appkit/nsimagecell/imagescaling.md)
