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