---
title: NSCell.Attribute.cellHasImageHorizontal
framework: appkit
role: symbol
role_heading: Case
path: appkit/nscell/attribute/cellhasimagehorizontal
---

# NSCell.Attribute.cellHasImageHorizontal

Controls the position of the cell’s image: places the image on the right of any text in the cell.

## Declaration

```swift
case cellHasImageHorizontal
```

## Discussion

Discussion Together, NSCellHasImageOnLeftOrBottom, NSCellHasImageHorizontal, and NSCellHasOverlappingImage control the position of the cell’s image and text. To place the image above, set none of them. To place the image below, set NSCellHasImageOnLeftOrBottom. To place the image to the right, set NSCellHasImageHorizontal. To place the image to the left, set NSCellHasImageHorizontal and NSCellHasImageOnLeftOrBottom. To place the image directly over, set NSCellHasOverlappingImage.

## See Also

### Constants

- [NSCell.Attribute.cellAllowsMixedState](appkit/nscell/attribute/cellallowsmixedstate.md)
- [NSCell.Attribute.changeBackgroundCell](appkit/nscell/attribute/changebackgroundcell.md)
- [NSCell.Attribute.cellChangesContents](appkit/nscell/attribute/cellchangescontents.md)
- [NSCell.Attribute.changeGrayCell](appkit/nscell/attribute/changegraycell.md)
- [NSCell.Attribute.cellDisabled](appkit/nscell/attribute/celldisabled.md)
- [NSCell.Attribute.cellEditable](appkit/nscell/attribute/celleditable.md)
- [NSCell.Attribute.cellHasImageOnLeftOrBottom](appkit/nscell/attribute/cellhasimageonleftorbottom.md)
- [NSCell.Attribute.cellHasOverlappingImage](appkit/nscell/attribute/cellhasoverlappingimage.md)
- [NSCell.Attribute.cellHighlighted](appkit/nscell/attribute/cellhighlighted.md)
- [NSCell.Attribute.cellIsBordered](appkit/nscell/attribute/cellisbordered.md)
- [NSCell.Attribute.cellIsInsetButton](appkit/nscell/attribute/cellisinsetbutton.md)
- [NSCell.Attribute.cellLightsByBackground](appkit/nscell/attribute/celllightsbybackground.md)
- [NSCell.Attribute.cellLightsByContents](appkit/nscell/attribute/celllightsbycontents.md)
- [NSCell.Attribute.cellLightsByGray](appkit/nscell/attribute/celllightsbygray.md)
- [NSCell.Attribute.pushInCell](appkit/nscell/attribute/pushincell.md)
