---
title: orientation
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uiprintinfo/orientation-swift.property
---

# orientation

The orientation of the printed content, portrait or landscape.

## Declaration

```swift
var orientation: UIPrintInfo.Orientation { get set }
```

## Discussion

Discussion An application can set this property to a value thats appropriate to the printable content or it can put up a user interface that enables users to pick the printing orientation. The default value is UIPrintInfo.Orientation.portrait. See the descriptions of the UIPrintInfo.Orientation constants for more information. note: UIKit ignores this property when printable content is assigned to the printingItem or printingItems properties of the shared UIPrintInteractionController object. It determines the orientation based on the type of content.

## See Also

### Managing print-job attributes

- [duplex](uikit/uiprintinfo/duplex-swift.property.md)
- [UIPrintInfo.Duplex](uikit/uiprintinfo/duplex-swift.enum.md)
- [jobName](uikit/uiprintinfo/jobname.md)
- [UIPrintInfo.Orientation](uikit/uiprintinfo/orientation-swift.enum.md)
- [outputType](uikit/uiprintinfo/outputtype-swift.property.md)
- [UIPrintInfo.OutputType](uikit/uiprintinfo/outputtype-swift.enum.md)
- [printerID](uikit/uiprintinfo/printerid.md)
