FarPoint.Web.Spread.Model.CellRange range = new FarPoint.Web.Spread.Model.CellRange(0, 0, 4, 4);
bool b;
FpSpread1.ActiveSheetView.ColumnCount = 10;
FpSpread1.ActiveSheetView.RowCount = 10;
FpSpread1.ActiveSheetView.AddSpanCell(range.Row, range.Column, range.RowCount, range.ColumnCount);
b = range.Contains(0, 0, 2, 2);
ListBox1.Items.Add(Convert.ToString(b));
Dim range As New FarPoint.Web.Spread.Model.CellRange(0, 0, 4, 4)
Dim b As Boolean
FpSpread1.ActiveSheetView.ColumnCount = 10
FpSpread1.ActiveSheetView.RowCount = 10
FpSpread1.ActiveSheetView.AddSpanCell(range.Row, range.Column, range.RowCount, range.ColumnCount)
b = range.Contains(0, 0, 2, 2)
ListBox1.Items.Add(b)