---
title: verticallyCentered
framework: appkit
role: symbol
role_heading: Type Property
path: appkit/nsprintinfo/attributekey/verticallycentered
---

# verticallyCentered

An NSNumber object containing a Boolean value that specifies whether to vertically center pages.

## Declaration

```swift
static let verticallyCentered: NSPrintInfo.AttributeKey
```

## Discussion

Discussion If true, pages are centered vertically.

## See Also

### Pagination Attributes

- [leftMargin](appkit/nsprintinfo/attributekey/leftmargin.md)
- [rightMargin](appkit/nsprintinfo/attributekey/rightmargin.md)
- [topMargin](appkit/nsprintinfo/attributekey/topmargin.md)
- [bottomMargin](appkit/nsprintinfo/attributekey/bottommargin.md)
- [horizontallyCentered](appkit/nsprintinfo/attributekey/horizontallycentered.md)
- [horizontalPagination](appkit/nsprintinfo/attributekey/horizontalpagination.md)
- [verticalPagination](appkit/nsprintinfo/attributekey/verticalpagination.md)
