Free Support Forum - aspose.com

PDF conversoin is not working

I have a .NET Core 2.0 project and use Aspose.Cells version 18.2.0. When I try to convert valid XLS to PDF it fails.

I’m using this code:

Workbook doc = new Workbook(inputStream); // my input file stream
doc.Save(outputStream, SaveFormat.Pdf);

As result of PDF conversion I get PDF file with “Invalid file structure”, as Pdf Readers say.

I have noticed that this issue appears only in .NET Core project, and in .NET Framework 4.6.1 everything works fine.

@alexs123,

Thanks for your query.

I am afraid, the feature (Excel to PDF) might not be supported in Aspose.Cells for .NET Core at the moment but we need to check it out though.

This issue has been logged as CELLSNET-45954.

@Amjad_Sahi do you have any updates on my issue?

@alexs123,

I am afraid, there is no update on the unsupported features, i.e., “Excel to PDF” and “Excel to SVG”. Generally, unsupported major features can take time and won’t be supported in short time. Anyways, I have logged your concerns and asked product team to update on it or provide an ETA (if possible).

Once we have any new information, we will share it with you.

@alexs123

Thanks for using Aspose APIs.

This is to inform you that we have fixed your issue CELLSNET-45954 now. We will soon provide the fix after performing QA and including other enhancements and fixes.