找回密码
 立即注册

QQ登录

只需一步,快速开始

jarodma
论坛元老   /  发表于:2013-7-24 15:01  /   查看:4278  /  回复:1
如题!

1 个回复

倒序浏览
iceman
社区贡献组   /  发表于:2013-7-24 17:59:00
沙发
回复 1楼jarodma的帖子

测试代码如下:

  1. FarPoint.Web.Spread.TextCellType t = new FarPoint.Web.Spread.TextCellType();
  2. string s = "This is a test\r\nfor multiline";
  3. t.Multiline = true;
  4. FpSpread1.ActiveSheetView.Cells[0, 0].CellType = t;
  5. FpSpread1.ActiveSheetView.SetText(0, 0, s);

复制代码
回复 使用道具 举报
您需要登录后才可以回帖 登录 | 立即注册
返回顶部