Spread ASP.NET 6.0 Product Documentation
RowSpan Property
See Also  Example Send Feedback
FarPoint.Web.Spread Assembly > FarPoint.Web.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 in the span

Remarks

If this cell represents a range of cells, then the span for the upper left cell in the range is returned and set.

Example

This example sets up a spreadsheet with 7 columns and 50 rows, creates a Cell object and then spans the object over four columns and four rows.
C#Copy Code
FpSpread1.Sheets[0].ColumnCount=7;
FpSpread1.Sheets[0].RowCount=50;
FarPoint.Web.Spread.Cellmycell=null;
mycell=FpSpread1.Cells[0,0];
mycell.ColumnSpan=4;
mycell.RowSpan=4;
Visual BasicCopy Code
FpSpread1.Sheets(0).ColumnCount=7
FpSpread1.Sheets(0).RowCount=50
DimmycellAsFarPoint.Web.Spread.Cell
mycell=FpSpread1.Cells(0,0)
mycell.ColumnSpan=4
mycell.RowSpan=4

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2002-2012 GrapeCity, Inc. All Rights Reserved.