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

Free Support Forum - aspose.com

Text rotation

Is it possible to rotate a block of text in the same way as you can for the barcode?


Thanks for your inquiry. Please follow up this code to rotate text:

Document doc = new Document();

Shape textbox = new Shape(doc, ShapeType.TextBox);
textbox.Width = 100;
textbox.Height = 100;
textbox.TextBox.LayoutFlow = LayoutFlow.BottomToTop;

Paragraph par = new Paragraph(doc);
par.AppendChild(new Run(doc, "This is test content"));



Hope this helps.

In which assembly is Shape defined?

Hi Maringa,

Thanks for your inquiry.
Please follow up for more details:

Aspose.Words 10.8

Shape Class:

This is working great, thanks very much!

Hi Maringa,
Thank you very much for your feedback. It is great to hear that your issue has been resolved. You are always welcome and please feel free to ask if you have any query in future.
We always welcome constructive response from our customers.