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

Free Support Forum - aspose.com

Text Rotation in TableEx


I need to rotate the text inside a cell of a TableEx as shown in the code snippet below:

PresentationEx pres = new PresentationEx();
SlideEx sld = pres.Slides[0];
double[] dblCols = { 50,50,50 };
double[] dblRows = { 50,30,30,30,30 };
int idx = sld.Shapes.AddTable(100, 50, dblCols, dblRows);
TableEx tbl = (TableEx)sld.Shapes[idx];
CellEx cell = tbl[1, 1];
///////////Code needed here to rotate text inside “cell”/////////////

How is it possible to do that?

Thank you!


I was able to do that using the following code:

cell.TextVerticalType = TextVerticalTypeEx.Vertical270;


Hi Pierre,

That is really appreciable that you have been able to rectify the issue on your end. Please share, if I may help you further in this regard.

Many Thanks,