Rotate text in a table cell by 90 degrees?

I’d like to rotate the text inside a table cell… I can do this with textbox.Layout.Transform.Rotation = 90
but I don’t know how to add a textbox to the cell. Is this the correct approach or is there another way?


You can use TableCell.CellFormat.TextDirection property, for example, like this:

TableCell cell = ...
cell.CellFormat.TextDirection = TableCellTextDirection.BottomToTop;

I hope this helps.