Visual Basic (Declaration) | |
---|---|
Public Sub AddColumnHeaderSpanCell( _ ByVal row As Integer, _ ByVal column As Integer, _ ByVal rowCount As Integer, _ ByVal columnCount As Integer _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As SheetView Dim row As Integer Dim column As Integer Dim rowCount As Integer Dim columnCount As Integer instance.AddColumnHeaderSpanCell(row, column, rowCount, 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
To add spans to row headers, call the AddRowHeaderSpanCell method.
C# | Copy Code |
---|---|
FarPoint.Win.Spread.SheetView sv; fpSpread1.ActiveSheet.ColumnHeader.RowCount = 4; sv = fpSpread1.ActiveSheet; sv.AddColumnHeaderSpanCell(0, 0, 2, 2); |
Visual Basic | Copy Code |
---|---|
Dim sv As FarPoint.Win.Spread.SheetView FpSpread1.ActiveSheet.ColumnHeader.RowCount = 4 sv = FpSpread1.ActiveSheet sv.AddColumnHeaderSpanCell(0, 0, 2, 2) |
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
Reference
SheetView ClassSheetView Members
AddRowHeaderSpanCell Method