private void button1_Click(object sender, EventArgs e)
{
// 行のアウトラインを削除
fpSpread1.ActiveSheet.AddRangeGroup(0, 4, true);
fpSpread1.ActiveSheet.AddRangeGroup(0, 1, true);
fpSpread1.ActiveSheet.AddRangeGroup(2, 1, true);
// 列のアウトラインを削除
fpSpread1.ActiveSheet.AddRangeGroup(0, 4, false);
fpSpread1.ActiveSheet.AddRangeGroup(0, 1, false);
fpSpread1.ActiveSheet.AddRangeGroup(2, 1, false);
}
private void button2_Click(object sender, EventArgs e)
{
// 行のアウトラインを削除
fpSpread1.ActiveSheet.RemoveRangeGroup(0, 4, true);
fpSpread1.ActiveSheet.RemoveRangeGroup(0, 1, true);
fpSpread1.ActiveSheet.RemoveRangeGroup(2, 1, true);
// 列のアウトラインを削除
fpSpread1.ActiveSheet.RemoveRangeGroup(0, 4, false);
fpSpread1.ActiveSheet.RemoveRangeGroup(0, 1, false);
fpSpread1.ActiveSheet.RemoveRangeGroup(2, 1, false);
}
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
' 行のアウトラインを設定
FpSpread1.ActiveSheet.AddRangeGroup(0, 4, True)
FpSpread1.ActiveSheet.AddRangeGroup(0, 1, True)
FpSpread1.ActiveSheet.AddRangeGroup(2, 1, True)
' 列のアウトラインを設定
FpSpread1.ActiveSheet.AddRangeGroup(0, 4, False)
FpSpread1.ActiveSheet.AddRangeGroup(0, 1, False)
FpSpread1.ActiveSheet.AddRangeGroup(2, 1, False)
End Sub
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
' 行のアウトラインを削除
FpSpread1.ActiveSheet.RemoveRangeGroup(0, 4, True)
FpSpread1.ActiveSheet.RemoveRangeGroup(0, 1, True)
FpSpread1.ActiveSheet.RemoveRangeGroup(2, 1, True)
' 列のアウトラインを削除
FpSpread1.ActiveSheet.RemoveRangeGroup(0, 4, False)
FpSpread1.ActiveSheet.RemoveRangeGroup(0, 1, False)
FpSpread1.ActiveSheet.RemoveRangeGroup(2, 1, False)
End Sub