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


Glossary Item Box

Removes all spans from this sheet.

Syntax

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

Example

This example clears spanned cells.
C#Copy Code
//Create a span
fpSpread1.Sheets[0].AddSpanCell(0, 0, 2, 2);
//Clear Span 
fpSpread1.Sheets[0].ClearSpanCells();

Visual BasicCopy Code
'Create a span
FpSpread1.Sheets(0).AddSpanCell(0, 0, 2, 2)
'Clear Span
FpSpread1.Sheets(0).ClearSpanCells()

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.