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


Glossary Item Box

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 BasicCopy 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 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

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