private void Form1_Load(object sender, EventArgs e)
{
//セル(1,1)に標準罫線を設定します
FarPoint.Win.LineBorder lBorder = new FarPoint.Win.LineBorder(Color.Black, 2);
fpSpread1.ActiveSheet.Cells[1, 1].Border = lBorder;
//セル(1,2)に二重罫線を設定します
FarPoint.Win.LineBorder dLineBorder = new FarPoint.Win.DoubleLineBorder(Color.Black);
fpSpread1.ActiveSheet.Cells[1, 2].Border = dLineBorder;
// 隣接するセルの罫線は単一のセルに結合されます。
fpSpread1.BorderCollapse = FarPoint.Win.Spread.BorderCollapse.Enhanced;
}
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
' セル(1,1)に標準罫線を設定します
Dim lBorder As New FarPoint.Win.LineBorder(Color.Black, 2)
FpSpread1.ActiveSheet.Cells(1, 1).Border = lBorder
' セル(1,2)に二重罫線を設定します
Dim dLineBorder As New FarPoint.Win.DoubleLineBorder(Color.Black)
FpSpread1.ActiveSheet.Cells(1, 2).Border = dLineBorder
' 隣接するセルの罫線は単一のセルに結合されます。
FpSpread1.BorderCollapse = FarPoint.Win.Spread.BorderCollapse.Enhanced
End Sub