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

Free Support Forum - aspose.com

XPS to PDF - Parameter not Valid Error and non-tiled image is tiled in the PDF file


When we try to convert XPS file to PDF using Aspose PDF 7.0, we are getting “Parameter is not Valid” exception with below stack trace.

" StackTrace " at System.Drawing.Bitmap…ctor(Int32 width, Int32 height, PixelFormat format)\r\n at ?.…ctor(Int32 , Int32 , Single , Single , PixelFormat )\r\n at ?.…ctor(Int32 , Int32 , Single , Single )\r\n at ?.…ctor(Int32 , Int32 )\r\n at \a..(? , Boolean )\r\n at \a..(XmlNode )\r\n at \a..(XmlNode )\r\n at \a..(XmlNode , ? )\r\n at \a..(XmlNode )\r\n at \a..(String )\r\n at \a..(Stream )\r\n at \a.\a.(Stream , Document , XpsLoadOptions )\r\n at Aspose.Pdf.Document…ctor(Stream input, LoadOptions options)\r\n at Aspose.Pdf.Document…ctor(String filename, LoadOptions options)\r\n

Also for few other XPS documents, non-tiled image is tiled in PDF file which is described in

Please provide solution to these problems at the earliest. These issues are causing lot of problem to our process.


Hi Rama,

Thanks for your interest in our products and sharing the template document with us.

I tested the scenario and able to notice the same problem. For rectification, I logged this problem with ID: PDFNEWNET-33877 in our Issue Tracking System. We will further look into the details of this issue and will keep you updated via this forum thread on the status of correction.

We apologize for your inconvenience.

Thanks & Regards,

The issues you have found earlier (filed as PDFNEWNET-33877) have been fixed in Aspose.Pdf for .NET 9.4.0.

This message was posted using Notification2Forum from Downloads module by Aspose Notifier.