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

Free Support Forum - aspose.com

Issue converting from pptx to xps NotSupportedException


I am Having an issue when I save a pptx file to xps the exception detail below:

System.NotSupportedException: Unsupported brush type.
at . . ( builder, ž context, brush)
at ‚. . ( builder, ž context, brush)
at ‚. . ( builder, ž context, path)
at . . ( path)
at ‚. . ( path)
at . . ( visitor)
at . . ( visitor)
at . . ( visitor)
at . . ( visitor)
at . . ( visitor)
at ‚. . ( node)
at .‚. (PresentationEx pres, Stream stream, XpsOptions options)
at Aspose.Slides.Pptx.PresentationEx.Save(Stream stream, SaveFormat format, SaveOptions options)
at Aspose.Slides.Pptx.PresentationEx.Save(String fname, SaveFormat format)


Hi Gerardo,

I have observed the exception shared by you. Kindly share the source presentation with us along with Aspose.Slides version that you have used for your verification. Please also share the code snippet as well,

Many Thanks,

Hi Mudassir,

Aspose Slides Version


Aspose.Slides.Pptx.PresentationEx doc = new Aspose.Slides.Pptx.PresentationEx("example.pptx");

doc.Save("example.xps", Aspose.Slides.Export.SaveFormat.Xps);

Attached the example file.




I have worked with the presentation file shared by you and have been able to observe the issue shared by you. An issue with ID SLIDESNET-33125 has been created in our issue tracking system to further investigate and resolve the issue. I will share the further information with you as soon as the issue is resolved.

We are sorry for your inconvenience,

The issues you have found earlier (filed as ) have been fixed in this update. This message was posted using BugNotificationTool from Downloads module by MuzammilKhan