Error converting Excel file to PDF


#1

Using the latest version of Aspose.Cell the attached excel file fails to convert to PDF with the following error message:

Column width must be between 0 and 255

Before converting, we are doing this:

using (var workbook = new Workbook(input, _loadOptions))
{
foreach (var sheet in workbook.Worksheets)
{
sheet.AutoFitColumns();
sheet.AutoFitRows();
}
workbook.Save(output, _options);
}

Can this result in the columns becoming to large?

Bok1.zip (5.7 KB)


#2

@Eneuman,
We were able to observe the issue but we need to look into it more. We have logged the issue in our database for investigation and for a fix. Once, we will have some news for you, we will update you in this topic.

This issue has been logged as

CELLSNET-46799 - Exception raised while converting XLSX file to PDF

#3

@Eneuman,
This is to inform you that we have fixed your issue (logged earlier as “CELLSNET-46799”) now. We will soon provide you the fixed version after performing QA and incorporating other enhancements and fixes.


#4

@Eneuman,
Please try our latest version/fix: Aspose.Cells for .NET v19.6.5 (attached).

Let us know your feedback.
Aspose.Cells19.6.5 For .Net2_AuthenticodeSigned.Zip (4.9 MB)
Aspose.Cells19.6.5 For .Net4.0.Zip (4.9 MB)


#5

The issues you have found earlier (filed as CELLSNET-46799) have been fixed in Aspose.Cells for .NET v19.7. This message was posted using BugNotificationTool from Downloads module by Amjad_Sahi