I am using Apsose.cells 220.127.116.11 version to Export Data into the Excel from Data Table. Every thing is working for Except WorpWarp(Auto Fit Row) based on the Text size in the cell. Once the Data is loaded into the Sheet Object we are calling following code perform wordwrap. it is woking in local system but not in the Client Machine and also in client machine some times cell is overlapping the cell Text.
Please find the code below.
for (int nCount = StartRow; nCount < worksheet.Cells.GetLastDataRow(0) + 1; nCount++)
if (nCount >= this.nStartRow - 1)
worksheet.Cells.Rows[nCount].Height = worksheet.Cells.Rows[nCount].Height + 8;
Note: I am adding 8 in the above code just to increase the row size.
Note: We are using above because "AutoFitRows()" is not working.
Aspose.cells : 18.104.22.168
Excel : 2007/2010
Please help me in this regard.