Free Support Forum - aspose.com

AutoFitRow method problem

Hi,
Using your Aspose.Excel component I’m generating programmatically excel files. After my code completes putting needed values in right cells, I have a code that goes through existing row and using AutoFitRow() method I’m trying to adjust the row height. Here is the code that I use:

for (int i = FirstRow; i <= LastRow; i++)
{
report.Worksheet.AutoFitRow(i);
}

After, saving and opening generated excel files I see that some of the rows are not adjusted correctly and the text in cells is cut. Though, if I try to do auto row height adjustment using MS Excel, everything displays fine and well-adjusted. The row height has enough place, it’s not close to Excel row height limit. The text that cells contain doesn’t have spaces at the end of text. My Aspose.Excel.dll Assembly version is: 1.8.8.1
Please help me.
Thanks.

Hi,

Could you email me your file created by Aspose.Excel?

I sent an excel file to excel@aspose.com

Carbon

Hi Carbon,

I got it. It will be fixed in the next hotfix within two days.