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

Free Support Forum - aspose.com

How can I rotate text in a shape in Aspose.Slides

using (Presentation pres = new Presentation())
{

ISlide sld = pres.Slides[0];

IShape shp = sld.Shapes.AddAutoShape(ShapeType.Rectangle, 450, 250, 30, 30);
shp.Rotation = 45;
((IAutoShape)shp).TextFrame.Text = "Test";
}

As i added the text it is tilted but i want the text to be horizontal without any effect of the angle of shape.

Hi Orpita,


I have observed your comments. I request you to please follow guidelines on this link. This will help you to achieve your requirements. Please share feedback if there is still an issue.

Best Regards,