Sets an angle to the current cell range.
Name | Type | Description |
angle | Angle | Specifies the range angle. |
builder.CreateFile("xlsx"); var oWorksheet = Api.GetActiveSheet(); oWorksheet.GetRange("A1").SetValue("1"); oWorksheet.GetRange("B1").SetValue("2"); var oRange = oWorksheet.GetRange("A1:B1"); oRange.SetOrientation("xlUpward"); builder.SaveFile("xlsx", "SetOrientation.xlsx"); builder.CloseFile();