Spread Windows Forms 6.0 Product Documentation
RemoveRowHeaderSpanCell Method
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class : RemoveRowHeaderSpanCell Method


row
Row index of anchor cell for span (at which spanned cells started)
column
Column index of anchor cell for span (at which spanned cells started)

Glossary Item Box

Removes the span that contains a specified anchor cell from a range of cells in the row headers.

Syntax

Visual Basic (Declaration) 
Public Sub RemoveRowHeaderSpanCell( _
   ByVal row As Integer, _
   ByVal column As Integer _
) 
Visual Basic (Usage)Copy Code
Dim instance As SheetView
Dim row As Integer
Dim column As Integer
 
instance.RemoveRowHeaderSpanCell(row, column)
C# 
public void RemoveRowHeaderSpanCell( 
   int row,
   int column
)

Parameters

row
Row index of anchor cell for span (at which spanned cells started)
column
Column index of anchor cell for span (at which spanned cells started)

Example

This example removes the specified span from the row header.
C#Copy Code
fpSpread1.ActiveSheet.RowHeaderColumnCount = 4; 
fpSpread1.ActiveSheet.AddRowHeaderSpanCell(0, 0, 2, 2);

private void button1_Click(object sender, System.EventArgs e)
{
fpSpread1.ActiveSheet.RemoveRowHeaderSpanCell(0, 0);
}

Visual BasicCopy Code
FpSpread1.ActiveSheet.RowHeaderColumnCount = 4 
FpSpread1.ActiveSheet.AddRowHeaderSpanCell(0, 0, 2, 2)

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
FpSpread1.ActiveSheet.RemoveRowHeaderSpanCell(0, 0)
End Sub

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.