[]
Gets or sets the text orientation of a cell or range, which may be from -90 to 90 degrees, or 255(vertical text).
int Orientation { get; set; }
Property Orientation As Integer
| Type | Description |
|---|---|
| int | The orientation. |
IRange range = worksheet.Range["A1"];
range.Value = "Rotated";
range.Orientation = 45;
int orientation = range.Orientation;