Spread Windows Forms 11.0 Product Documentation
AddRowHeaderSpanCell Method
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class : AddRowHeaderSpanCell Method
Row index of cell to start span
Column index of cell to start span
Number of rows to span
Number of columns to span
Adds a span of cells to a row header for a sheet.
Syntax
'Declaration
 
Public Sub AddRowHeaderSpanCell( _
   ByVal row As Integer, _
   ByVal column As Integer, _
   ByVal rowCount As Integer, _
   ByVal columnCount As Integer _
) 
'Usage
 
Dim instance As SheetView
Dim row As Integer
Dim column As Integer
Dim rowCount As Integer
Dim columnCount As Integer
 
instance.AddRowHeaderSpanCell(row, column, rowCount, columnCount)
public void AddRowHeaderSpanCell( 
   int row,
   int column,
   int rowCount,
   int columnCount
)

Parameters

row
Row index of cell to start span
column
Column index of cell to start span
rowCount
Number of rows to span
columnCount
Number of columns to span
Remarks
To add spans to column headers, call the AddColumnHeaderSpanCell method.
Example
FarPoint.Win.Spread.SheetView sv;
fpSpread1.ActiveSheet.RowHeader.ColumnCount = 4;
sv = fpSpread1.ActiveSheet;
sv.AddRowHeaderSpanCell(0, 0, 2, 2);
Dim sv As FarPoint.Win.Spread.SheetView
FpSpread1.ActiveSheet.RowHeader.ColumnCount = 4
sv = FpSpread1.ActiveSheet
sv.AddRowHeaderSpanCell(0, 0, 2, 2)
See Also

Reference

SheetView Class
SheetView Members
AddColumnHeaderSpanCell Method

User-Task Documentation

Creating a Span in a Header