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

Free Support Forum - aspose.com

Convert Xlsx to HTML - width different

Hi,

I converted xlsx to html file.

The column "C" is different between xlsx and html.

See attachment

Thank you.

Hi,

Thanks for your posting and using Aspose.Cells for .NET.

I was able to replicate this issue using your file and the code with the latest version:
Aspose.Cells
for .NET v7.2.2.7



We have logged this issue in our database. We will look into it and fix the problems. Once the issue is fixed or we have some other update for you, we will let you know asap.

This issue has been logged as CELLSNET-40837.

Below is a sample code. I have attached the source xlsx file, output html files and screenshot for a reference.

C#


string filePath = @“F:\relInconsistencias.xlsx”;


HtmlSaveOptions sv = new HtmlSaveOptions(SaveFormat.Html);

Workbook wb = new Workbook(filePath);

wb.Save(filePath + “.out.html”, sv);

Screenshot:

Hi,


Could you try to save your template file to HTML manually in MS Excel,
then send the file to us. We think the problem is due to your custom system environment’s local font which is not the same as per your template file.

Thank you.