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.