Removes all spans from the column headers.
Syntax
Visual Basic (Declaration) | |
---|
Public Sub ClearColumnHeaderSpanCells() |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As SheetView
instance.ClearColumnHeaderSpanCells() |
C# | |
---|
public void ClearColumnHeaderSpanCells() |
Example
This example clears the header span.
C# | Copy Code |
---|
//Create Span
fpSpread1.Sheets[0].ColumnHeader.Rows.Count = 2;
fpSpread1.Sheets[0].AddColumnHeaderSpanCell(0, 0, 1, 2);
//Clear Span
fpSpread1.Sheets[0].ClearColumnHeaderSpanCells();
|
Visual Basic | Copy Code |
---|
'Create the span
FpSpread1.Sheets(0).ColumnHeader.Rows.Count = 2
FpSpread1.Sheets(0).AddColumnHeaderSpanCell(0, 0, 1, 2)
'Clear the span
FpSpread1.Sheets(0).ClearColumnHeaderSpanCells()
|
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