I am adding text to a cell that will go beyond the width of the cell. I have added WrapText = true to the cell. However, the row does not grow in size to accommodate all the text. How do I fix this?
I have attached the template xltx file I am using.
Here is the code.
Workbook oWorkbook = new Workbook();
oWorkbook.LoadFromFile("C:\\Users\\a05998\\Documents\\Visual Studio Projects\\ScreenShots\\SpireXLS\\bin\\Debug\\template1.xltx");
Worksheet oWorkSheet = oWorkbook.Worksheets[0];
CellRange oRange = oWorkSheet.FindString("#SpecialInstruction", false, false);
oRange.Style.WrapText = true;
oRange.Text = "Special instruction number one. Special instruction number two. Special instruction number three. Special instruction number four. Special instruction number five.";