[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IStyle.Orientation

Orientation Property

Orientation

Gets or sets the text orientation. Can be an integer value from –90 to 90 degrees.

Use this property to define or retrieve the text rotation stored in the style.

Declaration
int Orientation { get; set; }
Property Orientation As Integer
Examples
IStyle style = workbook.Styles.Add("angledStyle");
style.Orientation = 45;
worksheet.Range["A1"].Style = style;
int orientation = style.Orientation;