Hi,
I have text with long sentences and some line breaks, that should be insert to single Cell.
I tried to use AutoFitRows and IsWrapText each one separately, and both together, But the height of the line was not correct.
When I tried manually, by double clicking on the bottom line border, It worked properly.
Code sample:
sheet["B1"].ColumnWidth = 70;
sheet["B1"].Text = "row1\n row2\n row3\n row4\naaa bbb ccc ddd eee fff aaa bbb ccc ddd eee fff aaa bbb ccc ddd eee fff aaa bbb ccc ddd eee fff aaa bbb ccc ddd eee fff ";
sheet["B1"].IsWrapText = true;
sheet["B1"].AutoFitRows();
Can you help me please?
Thanks,