回复 1楼pan的帖子
pan 你好,
可以使用 HyperLinkCellType 在 Spread 中添加超链接:
- string str = "img\\fplogo.jpg";
- FarPoint.Web.Spread.HyperLinkCellType hlcell = new FarPoint.Web.Spread.HyperLinkCellType("str1");
- hlcell.ImageUrl = str;
- hlcell.NavigateUrl = "http://www.fpoint.com";
- hlcell.Target = "_self";
- FpSpread1.ActiveSheetView.Cells[0, 0].CellType = hlcell;
- FpSpread1.ActiveSheetView.Columns[0].Width = 150;
复制代码 |