Version

Orientation Property (PrintOptionsBase)

Gets or sets the orientation for each page of the printed worksheet.
Syntax
public Orientation Orientation {get; set;}

Property Value

The orientation for each page of the printed worksheet.
Exceptions
ExceptionDescription
System.ComponentModel.InvalidEnumArgumentExceptionThe assigned value is not defined in the Orientation enumeration.
Requirements

Target Platforms: Android 4.4+, iOS 8+

Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+

See Also