SPREAD for ASP.NET 10.0J サンプルコード集 > セル型 > ハイパーリンク型セル > URL以外のテキストを表示する |
ハイパーリンク型セルを設定したセルのTextプロパティにテキストを設定します。
HyperLinkCellType hp = new HyperLinkCellType() { NavigateUrl = "https://developer.mescius.jp/" }; FpSpread1.Cells[0, 1].CellType = hp; FpSpread1.Cells[0, 1].Text = "MESCIUS";
Dim hp As New HyperLinkCellType() With { .NavigateUrl = https://developer.mescius.jp/ } FpSpread1.Cells(0, 1).CellType = hp FpSpread1.Cells(0, 1).Text = "MESCIUS"