---
title: isHorizontallyCentered
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsprintinfo/ishorizontallycentered
---

# isHorizontallyCentered

A Boolean value that indicates whether the image is centered horizontally.

## Declaration

```swift
var isHorizontallyCentered: Bool { get set }
```

## Discussion

Discussion true if the image is centered horizontally; otherwise, false.

## See Also

### Positioning the Image on the Page

- [isVerticallyCentered](appkit/nsprintinfo/isverticallycentered.md)
