Hello,
I have a Excel file and i want to indicate a row is IsHeightMatched or not when select a merged cell. But it allways return false, anyone can help me?
Thanks for your query.
Could you please zip and attach your template Excel file and paste your sample (runnable) code to show the issue, we will check it soon.
file_mergecell_autoheigh.7z (6.3 KB)
Dear admin,
I have spamle code:
{
Cell cell = excelHelper.FindDataExcel(worksheet, "##Replace##","");
if(cell != null){
var row = worksheet.Cells.GetRow(cell.Row);
if(row?.IsHeighMatched){
worksheet.AutoFitRow(cell.Row);
//cell.worksheet.AutoFitRow(cell.Row);
}
}
}