SheetView.Orientation Property
Returns or specifies page orientation for a printed sheet.
Namespace: DevExpress.Spreadsheet
Assembly: DevExpress.Spreadsheet.v20.2.Core.dll
NuGet Package: DevExpress.Spreadsheet.Core
NuGet Packages: DevExpress.Spreadsheet.Core, DevExpress.WindowsDesktop.Spreadsheet.Core
Declaration
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