Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.

Wed May 06, 2015 12:13 pm

Hello,

As per the requirement we need to convert XPS, OXPS, XOD files to PDF. we have license for Spire.PDF for .NET.
As per the current code XPS to PDF conversion is happening but from OXPS & XOD to PDF is not working.
OXPS & XOD file types are the version of XPS.
Can anyone suggest these file types are supported by Spire.PDF for .NET? or what change we need to make in our code to make this working.
Please find below code for your reference.

FileInfo licenseFile = new FileInfo(@"license.elic.xml");
Spire.License.LicenseProvider.SetLicenseFile(licenseFile);
Spire.Pdf.PdfDocument doc = new Spire.Pdf.PdfDocument();
doc.LoadFromXPS(XpsFilePath);
doc.SaveToFile(PdfFilePath);

Thanks in Advance
Sandip Jain

sandip.jain
 
Posts: 19
Joined: Mon Feb 16, 2015 8:45 pm

Thu May 07, 2015 3:45 am

Hello,

Thanks for your inquiry.
So sorry that Spire.PDF doesn't support from OXPS & XOD to PDF at this stage. We will consider adding it in our future upgrade.
Have a great day!

Sincerely,
Sweety

E-iceblue support team
User avatar

sweety1
 
Posts: 539
Joined: Wed Mar 11, 2015 1:14 am

Mon Nov 02, 2015 10:33 am

Hello,

Any update on these file type conversion?

sandip.jain
 
Posts: 19
Joined: Mon Feb 16, 2015 8:45 pm

Tue Nov 03, 2015 1:46 am

Hi,

Thanks for your inquiry. Sorry for the delay update.
OXPS file is supported, please test it with the latest version(Spire.PDF Pack(Hot Fix) Version:3.5.143).
Code: Select all
Spire.Pdf.PdfDocument doc = new Spire.Pdf.PdfDocument();
doc.LoadFromXPS(XpsFilePath);
doc.SaveToFile(PdfFilePath,FileFormat.PDF);


Sorry, we don't have an example with XOD format here, hence cannot verify if it also has been supported. If you have any error when coverting, please provide us an example file to help us do an investigate.

Thank you.

Best Regards,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 2766
Joined: Wed Jun 27, 2012 8:50 am

Tue Nov 17, 2015 12:55 pm

Hello again,
This changes will be incorporated in 3.5.152.5040 release? we are having this version available and OXPS file seems not working.
can you please let us know if we require to have mention specific version (Spire.PDF Pack(Hot Fix) Version:3.5.143) only?

Also if you can please provide your sample file that you have check for OXPS to PDF conversion. that will be helpful to us
Thanks in advance
Sandip jain

sandip.jain
 
Posts: 19
Joined: Mon Feb 16, 2015 8:45 pm

Wed Nov 18, 2015 2:23 am

Hi Sandip jain,

The version 3.5.152.5040 includes the changes.
The OXPS files we tested are provided by our customer, sorry that I don't share them with you.
If you have any issue when converting your OXPS file to pdf, please tell us.

Best Regards,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 2766
Joined: Wed Jun 27, 2012 8:50 am

Return to Spire.PDF