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

Free Support Forum - aspose.com

Error xps to pdf

I am convert xps to pdf. I got error

System.ArgumentException-The ImagesSource /…/Resources/Images/1.JPG was not found

Dim options As Aspose.Pdf.LoadOptions = New XpsLoadOptions()
Dim document As Aspose.Pdf.Document = New Aspose.Pdf.Document(inputfile, options) document.Save(outputfile)


Here i attach xps files also,inputfile and outputfile are file directory,so no problem in passing file and path to save pdf file


This message was posted using Email2Forum by Tahir Manzoor.

Hi Aravind,


Thanks for contacting support.

I have tested the scenario using Aspose.Pdf for .NET 9.7.0 and I am unable to notice any issue. The XPS file is properly being converted to PDF format. For your reference, I have also attached the resultant PDF generated over my end.

Thank u for ur reply,i am use Aspose.Pdf 9.4.0 ,just now download new version and work fine.


Regards
Aravind

Hi Aravind,


Thanks for sharing the feedback.

We are glad to hear that your problem is resolved. Please continue using our API and in case of any further query, please feel free to contact.