Spread Windows Forms 6.0 Product Documentation
RowSpan Property
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > Cell Class : RowSpan Property


Glossary Item Box

Gets or sets the number of rows spanned by a cell.

Syntax

Visual Basic (Declaration) 
Public Property RowSpan As Integer
Visual Basic (Usage)Copy Code
Dim instance As Cell
Dim value As Integer
 
instance.RowSpan = value
 
value = instance.RowSpan
C# 
public int RowSpan {get; set;}

Property Value

Integer number of rows spanned

Remarks

If this cell represents a range of cells that are spanned, then this property returns and sets the upper-left cell in the range.

Example

This example sets up a cell span over three columns and three rows.
C#Copy Code
FarPoint.Win.Spread.Cell acell;
acell = fpSpread1.ActiveSheet.Cells[0, 0];
acell.ColumnSpan = 3;
acell.RowSpan = 3;
acell.Text = "Span";
Visual BasicCopy Code
Dim acell As FarPoint.Win.Spread.Cell
acell = FpSpread1.ActiveSheet.Cells(0, 0)
acell.ColumnSpan = 3
acell.RowSpan = 3
acell.Text = "Span"

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.