Posted 8 September 2017, 12:51 pm EST
I cannot seem to get my text in a cell to word wrap using the following code:
this.fpSpread1.ActiveSheet.RowCount += 1;
this.fpSpread1.ActiveSheet.ColumnCount = 3;
FarPoint.Win.Spread.CellType.TextCellType TextType = new FarPoint.Win.Spread.CellType.TextCellType();
this.fpSpread1.ActiveSheet.Cells[0, 0].Text = "The big brown fox jumped over the lazy dog.";
this.fpSpread1.ActiveSheet.Columns.Width = 100;
TextType.WordWrap = true;
this.fpSpread1.ActiveSheet.Columns.CellType = TextType;
What happens is that the text shows up but no wordwrap & I cannot see all of the text.
Anything bad or missing here?