---
title: imageAlignment()
framework: quartz
role: symbol
role_heading: Instance Method
path: quartz/ikimagebrowsercell/imagealignment()
---

# imageAlignment()

Returns the position of the cell’s image in the frame.

## Declaration

```swift
func imageAlignment() -> NSImageAlignment
```

## Return Value

Return Value The alignment of the image. See NSImageAlignment for possible values.

## Discussion

Discussion Subclasses can override this method to customize the image alignment. The image frame will be computed automatically from the image container frame by taking in account the image alignment and the image aspect ratio.

## See Also

### Cell Content Display

- [opacity()](quartz/ikimagebrowsercell/opacity().md)
