Error creating workbook from html which contains font-size: "input string was not in a correct format"

Hi,

I’m using Aspose Cells for .Net v 7.0.4.0

I’m creating an xlsx workbook from an html file using the code below.
It works well -if- the html does not include style=“font-size:” arguments.
If it does, then I receive the error message: input string was not in a correct format.

Dim HTMLloadOptions As New HTMLLoadOptions()
Dim obj As Workbook = New Workbook(htmlFileName, HTMLloadOptions)

errors on the above statement.
htmlFileName is the path and name to the html file.

How can I create the workbook using html files which include font-size settings?

Thanks.

Rich

Hi,

Please try our latest version v7.1.0 in which we made some enhancements regarding Html rendering:
http://www.aspose.com/community/files/51/.net-components/aspose.cells-for-.net/entry355234.aspx


If you still find the issue, please attach your Html file here, we will check it soon.

Thank you.