---
title: imagePosition
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsbuttoncell/imageposition
---

# imagePosition

The position of the button’s image relative to its title.

## Declaration

```swift
var imagePosition: NSControl.ImagePosition { get set }
```

## Discussion

Discussion The value of this property is one of the image positions described in the “Constants” section of NSCell. If the title is above, below, or overlapping the image, or if there is no image, the text is horizontally centered within the button.

## See Also

### Related Documentation

- [image](appkit/nscell/image.md)
- [NSButtonCell](appkit/nsbuttoncell.md)
- [setButtonType(_:)](appkit/nsbuttoncell/setbuttontype(_:).md)

### Managing Images

- [alternateImage](appkit/nsbuttoncell/alternateimage.md)
- [imageScaling](appkit/nsbuttoncell/imagescaling.md)
