FarPoint.Web.Spread Assembly > FarPoint.Web.Spread.Model Namespace > BaseSheetSpanModel Class : Remove Method |
'Usage Dim instance As BaseSheetSpanModel Dim row As Integer Dim column As Integer instance.Remove(row, column)
FarPoint.Web.Spread.Model.BaseSheetSpanModel bss; FarPoint.Web.Spread.Model.CellRange cr; bss = (FarPoint.Web.Spread.Model.BaseSheetSpanModel)FpSpread1.ActiveSheetView.SpanModel; bss.Add(0, 0, 2, 2); bss.Add(1, 2, 2, 2); Response.Write("<script>alert('Find Span?')</script>"); cr = bss.Find(1, 2); Response.Write("<script>alert('Remove Span?')</script>"); bss.Remove(cr.Row, cr.Column);
Dim bss As FarPoint.Web.Spread.Model.BaseSheetSpanModel Dim cr As FarPoint.Web.Spread.Model.CellRange bss = FpSpread1.ActiveSheetView.SpanModel bss.Add(0, 0, 2, 2) bss.Add(1, 2, 2, 2) Response.Write("<script>alert('Find Span?')</script>") cr = bss.Find(1, 2) Response.Write("<script>alert('Remove Span?')</script>") bss.Remove(cr.Row, cr.Column)
Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6