lxl_1988 你好,
1.Spread for ASP.NET 目前无法导出 Image 到 Excel。
2.导出换行文本请使用以下代码测试:
- FarPoint.Web.Spread.TextCellType txtCellType = new FarPoint.Web.Spread.TextCellType();
- txtCellType.Multiline = true;
- txtCellType.AllowWrap = true;
- this.FpSpread1.ActiveSheetView.Columns[1].CellType = txtCellType;
- this.FpSpread1.ActiveSheetView.Cells[0, 1].Value = "这是一个测试文本内容";
- this.FpSpread1.Sheets[0].Protect = false;
- this.FpSpread1.SaveExcelToResponse();
复制代码 |