[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.PageOrientation

PageOrientation Enum

Represents the portrait or landscape printing mode.

Use this enum with page setup APIs to control how a worksheet is oriented when printed or exported to paginated formats.

Namespace: GrapeCity.Documents.Excel
Assembly: DS.Documents.Excel.dll
Syntax
public enum PageOrientation
Public Enum PageOrientation
Examples
IPageSetup pageSetup = worksheet.PageSetup;
pageSetup.Orientation = PageOrientation.Landscape;
PageOrientation orientation = pageSetup.Orientation;

Fields

Name Description
Landscape

Landscape mode.

Portrait

Portrait mode.