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

Free Support Forum - aspose.com

LineJoinStyle.Miter produces invalid PPTX

Hello,


using Aspose.Slides for .NET 14.2.0 the following code produces a corrupt PPTX.

var pptx = new Presentation();
var shape = pptx.Slides[0].Shapes.AddAutoShape(ShapeType.Rectangle, 0, 0, 200, 250);
shape.LineFormat.JoinStyle = LineJoinStyle.Miter;
pptx.Save(@“C:\Miter.pptx”, SaveFormat.Pptx);

After opening the created PPTX with PowerPoint 2013 I get an error message stating the file has to be repared.

All other options for LineJoinStyle doesn’t produce a corrupt file.

Thanks.

Hi Daniel,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thank you for sharing the sample code.

I am able to reproduce your mentioned issue after an initial test. Your issue has been registered in our issue tracking system with issue id: SLIDESNET-35342. You will be notified via this forum thread once the issue gets resolved.

Thanks & Regards,