Gets or sets the number of columns spanned by this cell.
Syntax
Visual Basic (Declaration) | |
---|
Public Property ColumnSpan As Integer |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As Cell
Dim value As Integer
instance.ColumnSpan = value
value = instance.ColumnSpan |
C# | |
---|
public int ColumnSpan {get; set;} |
Property Value
Integer number of columns in the span
Remarks
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.Cell mycell=null;
mycell=FpSpread1.Cells[0,0];
mycell.ColumnSpan=4;
mycell.RowSpan=4; |
Visual Basic | Copy Code |
---|
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 Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6
See Also