Free Support Forum - aspose.com

AutoFitRow with IsTextWrapped produce cells that are too tall

In version 2.0.2.0, if both AutoFitRow and IsTextWrapped are used the resulting cell height appears to be set to about 2 times the required height.

I will forward an example worksheet.

Hi Win,

It is a difficult task to make an accurate autofit because of the font issue. MS Excel use GDI to calculate the font size. Because Aspose.Excel is a pure manged component, we use GDI+ instead. GDI+ is much more faster than GDI in dotnet. But the GDI+ font size is really different with GDI.

Anyway, I will check this issue.