回复 1楼syl000216的帖子
测试代码如下:
- FarPoint.Web.Spread.TextCellType t = new FarPoint.Web.Spread.TextCellType();
- string s = "This is a test\r\nfor multiline";
- t.Multiline = true;
- FpSpread1.ActiveSheetView.Cells[0, 0].CellType = t;
- FpSpread1.ActiveSheetView.SetText(0, 0, s);
复制代码 |