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


Glossary Item Box

Removes all spans from the row headers.

Syntax

Visual Basic (Declaration) 
Public Sub ClearRowHeaderSpanCells() 
Visual Basic (Usage)Copy Code
Dim instance As SheetView
 
instance.ClearRowHeaderSpanCells()
C# 
public void ClearRowHeaderSpanCells()

Example

This example clears the row header spans.
C#Copy Code
//Create Span
fpSpread1.Sheets[0].RowHeader.Columns.Count = 2;
fpSpread1.Sheets[0].AddRowHeaderSpanCell(0, 0, 2, 1);
//Clear Span 
fpSpread1.Sheets[0].ClearRowHeaderSpanCells();

Visual BasicCopy Code
'Create the span
FpSpread1.Sheets(0).RowHeader.Columns.Count = 2
FpSpread1.Sheets(0).AddRowHeaderSpanCell(0, 0, 2, 1)
'Clear the span 
FpSpread1.Sheets(0).ClearRowHeaderSpanCells()

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.