AutofitRows inconsistency

using aspose, i am editing an xls file and adding a new worksheet. i then add html formatted text to one of the cells, and call AutoFitRow on that row. on my desktop, the row is autofit correctly. when run on the server, the row is a few pixels too small.

what is causing this inconsistency? is the autofit dependent upon the system running the code? how can i get this to work in a consistent and predictable manner?

Hi,


The AutoFitRows is consistent. It might depend on the font type (with its attributes) that are being used in the cells content, also it may have difference viewing the file into different MS Excel versions.

Anyways, we recommend you to use our latest version/fix: Aspose.Cells for .NET v7.0.3.4 and let us know if it works fine.

If you still find the issue, kindly give us sample code, screen shots, template files etc. We will check it soon.

Thank you.