Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+
Row

SheetView.Orientation Property

Returns or specifies page orientation for a printed sheet.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v20.2.Core.dll

Declaration

PageOrientation Orientation { get; set; }

Property Value

Type Description
PageOrientation

An enumeration member that specifies page orientation.

Remarks

The following example changes page orientation for the first worksheet:

// Set the page orientation to landscape.
workbook.Worksheets[0].ActiveView.Orientation = PageOrientation.Landscape;
See Also