'Declaration Public Overridable Sub Copy( _ ByVal fromRow As Integer, _ ByVal fromColumn As Integer, _ ByVal toRow As Integer, _ ByVal toColumn As Integer, _ ByVal rowCount As Integer, _ ByVal columnCount As Integer _ )
FarPoint.Win.Spread.Model.DefaultSheetSpanModel defspanModel = new FarPoint.Win.Spread.Model.DefaultSheetSpanModel();
fpSpread1.ActiveSheet.Models.Span = defspanModel;
defspanModel.Add(0, 0, 3, 3);
defspanModel.Copy(0, 0, 4, 4, 3, 3);
Dim defspanModel As New FarPoint.Win.Spread.Model.DefaultSheetSpanModel() FpSpread1.ActiveSheet.Models.Span = defspanModel defspanModel.Add(0, 0, 3, 3) defspanModel.Copy(0, 0, 4, 4, 3, 3)