private void Form1_Load(object sender, System.EventArgs e)
{
//全ての列毎に、同一内容を持つ隣接セルを一つのセルとしてグループ表示させます。
fpSpread1.ActiveSheet.SetColumnMerge(-1, FarPoint.Win.Spread.Model.MergePolicy.Always);
fpSpread1.ActiveSheet.SetText(0, 1, "Fender USA");
fpSpread1.ActiveSheet.SetText(1, 1, "Fender USA");
fpSpread1.ActiveSheet.SetText(2, 1, "Gibson");
fpSpread1.ActiveSheet.SetText(3, 1, "Fender Japan");
fpSpread1.ActiveSheet.SetText(4, 1, "Fender Japan");
fpSpread1.ActiveSheet.SetText(5, 1, "Fender Japan");
fpSpread1.ActiveSheet.Columns[1].Width = 90;
}
Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load
'全ての列毎に、同一内容を持つ隣接セルを一つのセルとしてグループ表示させます。
FpSpread1.ActiveSheet.SetColumnMerge(-1, FarPoint.Win.Spread.Model.MergePolicy.Always)
FpSpread1.ActiveSheet.SetText(0, 1, "Fender USA")
FpSpread1.ActiveSheet.SetText(1, 1, "Fender USA")
FpSpread1.ActiveSheet.SetText(2, 1, "Gibson")
FpSpread1.ActiveSheet.SetText(3, 1, "Fender Japan")
FpSpread1.ActiveSheet.SetText(4, 1, "Fender Japan")
FpSpread1.ActiveSheet.SetText(5, 1, "Fender Japan")
FpSpread1.ActiveSheet.Columns(1).Width = 90
End Sub