Spread for ASP.NET 9.0 Product Documentation
RowSpan Property (Cell)
Example 


Gets or sets the number of rows spanned by a cell.
Syntax
'Declaration
 
Public Property RowSpan As Integer
'Usage
 
Dim instance As Cell
Dim value As Integer
 
instance.RowSpan = value
 
value = instance.RowSpan
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.
FpSpread1.Sheets[0].ColumnCount=7;
FpSpread1.Sheets[0].RowCount=50;
FarPoint.Web.Spread.Cell mycell=null;
mycell=FpSpread1.Cells[0,0];
mycell.ColumnSpan=4;
mycell.RowSpan=4;
FpSpread1.Sheets(0).ColumnCount=7
FpSpread1.Sheets(0).RowCount=50
Dim mycell As FarPoint.Web.Spread.Cell
mycell=FpSpread1.Cells(0,0)
mycell.ColumnSpan=4
mycell.RowSpan=4
Requirements

Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

Cell Class
Cell Members
Row Property
ColumnSpan Property

 

 


Copyright © GrapeCity, inc. All rights reserved.