Hi
I am Having an issue with the pps to xps convertion the exception message bellow:
Conversion of pps filed to xps failed with Aspose.Slides(ver 5.4)
"file.pps"
{"Value of '0' is not valid for 'emSize'. 'emSize' should be greater than 0 and less than or equal to System.Single.MaxValue.\r\nParameter name: emSize"} System.Exception {System.ArgumentException}{"Value of '0' is not valid for 'emSize'. 'emSize' should be greater than 0 and less than or equal to System.Single.MaxValue.\r\nParameter name: emSize"} System.Exception {System.ArgumentException}
at System.Drawing.Font.Initialize(FontFamily family, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont)
at System.Drawing.Font.Initialize(String familyName, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont)
at System.Drawing.Font..ctor(String familyName, Single emSize, FontStyle style)
at e...ctor(String fontFamily, Single emSize, FontStyle style)
at e..(Single dpi)
at e..()
at ..(String text, PointF point, textParam)
at e..( canvas)
at Aspose.Slides.TextHolder.( canvas, ArrayList rotations, Shape shape, renderingContext)
at Aspose.Slides.Rectangle.( canvas, ArrayList rotations, renderingContext)
at Aspose.Slides.Slide.( canvas)
at Aspose.Slides.Slide.(Boolean saveMetafileAsPng)
at ..(Presentation pres, Stream stream, XpsOptions options)
at Aspose.Slides.Presentation.Save(Stream stream, SaveFormat format, SaveOptions options)
at Aspose.Slides.Presentation.Save(String fname, SaveFormat format)
Code:
Presentation doc = new Presentation(inputFile);
doc.Save(xpsFileName, Aspose.Slides.Export.SaveFormat.Xps);
Regards
Thanks