Text rotation

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

Hi
Maringa,

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);
textbox.AppendChild(par);
par.AppendChild(new Run(doc, "This is test content"));

doc.FirstSection.Body.FirstParagraph.AppendChild(textbox);

doc.Save(@"Test001\out.doc");

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
https://releases.aspose.com/words/net

Shape Class:
https://reference.aspose.com/words/net/aspose.words.drawing/shape/

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.