We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Aspose Grid Text Orientation

I’ve a spreadsheet which has text top to bottom (orientation set to 90 degrees) as in the attached spreadsheet. It doesn’t show up right in the aspose grid. What property I need to set to get this going? Thanks.


Please set the value of style.Rotation = 90; to fulfill your requirement.

I’m using Aspose.Grid.Web Version Do I need to set the property for the specific cell as below

GridWeb1.WebWorksheets[2].Cells[“A4”].Style.Rotation = 90;

I’m getting the following error:

‘Aspose.Grid.Web.TableItemStyle’ does not contain a definition for ‘Rotation’ and no extension method ‘Rotation’ accepting a first argument of type ‘Aspose.Grid.Web.TableItemStyle’ could be found (are you missing a using directive or an assembly reference?)



We have been able to notice the problem that Text rotation property is not supported in Aspose.Cells.GridWeb. The problem is logged in our issue tracking system as CELLSNET-18451. Once the issue is resolved, we will let you know.

In earlier post, I replied with the reference of Aspose.Cells.GridDesktop.


We have supported the text rotation feature in Aspose.Cells.GridWeb v2.3.0.2003 (attached). Please try this line of code with the attached version:

sheet.Cells[“a2”].Style.Rotation = 90;

Thank you.<o:p></o:p>