orientation
The orientation of the printed content, portrait or landscape.
Declaration
var orientation: UIPrintInfo.Orientation { get set }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.