---
title: kMDItemOrientation
framework: coreservices
role: symbol
role_heading: Global Variable
path: coreservices/kmditemorientation
---

# kMDItemOrientation

The orientation of the document contents. Possible values are 0 (landscape) and 1 (portrait). A CFNumber.

## Declaration

```swift
let kMDItemOrientation: CFString!
```
