[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.ISort.Orientation

Orientation Property

Orientation

Gets or sets the sort orientation.

The sort orientation determines whether the sort operation is applied by columns or by rows.

Declaration
SortOrientation Orientation { get; set; }
Property Orientation As SortOrientation
Examples
worksheet.Sort.Range = worksheet.Range["A1:B4"];
worksheet.Sort.Orientation = SortOrientation.Columns;
SortOrientation orientation = worksheet.Sort.Orientation;