Well, I’m a bit frustrated.
Hi Daniel,
Thank you for sharing the details.
I am able to reproduce your mentioned issue after an initial test. An issue has been registered in our issue tracking system with issue id: SLIDESNET-35376. You will be notified via this forum thread once the issue gets resolved.
Thanks & Regards,
I assume fixing this issue and releasing a new version may take some time. But we need a solution today.
Hi Daniel,
I have shared your concerns with the development team and asked them to suggest any workaround (if possible) as per the issue you are facing. As soon as I get a feedback, I will update you via this forum thread.
Thanks & Regards,
Hi Daniel,
Please try the following workaround at your end and let us know if it works fine for you.
Presentation pptx = new Presentation();
ISlide sld = pptx.Slides[0];
//Add autoshape of rectangle type
IShape shp = sld.Shapes.AddAutoShape(ShapeType.Rectangle, 50, 150, 500, 50);
float rotation = 90;
// This part is necessary only if there is a chance for rotation to go beyond the[0; 360] range.
if (rotation < 0)
rotation += (float)(360 * Math.Floor((-rotation) / 360) * 360);
rotation %= 360;
IShapeFrame oldFrame = shp.Frame;
shp.Frame = new ShapeFrame(oldFrame.X, oldFrame.Y, oldFrame.Width, oldFrame.Height, oldFrame.FlipH, oldFrame.FlipV, rotation);
pptx.Save("c:\data\rotation.pptx", Aspose.Slides.Export.SaveFormat.Pptx);
Thanks & Regards,
It’s working. Thanks!
Hi Daniel,
Thank you for the confirmation.
We are glad to know that the workaround works fine for you. Please feel free to contact support in case you need any further assistance.
Thanks & Regards,
The issues you have found earlier (filed as SLIDESNET-35376) have been fixed in this update.
This message was posted using Notification2Forum from Downloads module by Aspose Notifier.