Spread Windows Forms 9.0 Product Documentation
Column Property (Cell)
Example 


Gets the column that contains this cell.
Syntax
'Declaration
 
Public ReadOnly Property Column As Column
'Usage
 
Dim instance As Cell
Dim value As Column
 
value = instance.Column
public Column Column {get;}

Property Value

Column object containing the column of the cell
Remarks

This property is available at run time only.

Example
This example illustrates the use of this member by returning the width of the column of the cell.
FarPoint.Win.Spread.Cell acell;
float cw;
acell = fpSpread1.ActiveSheet.Cells[0, 0];
cw = acell.Column.Width;
acell.Text = cw.ToString();
Dim acell As FarPoint.Win.Spread.Cell
Dim size As Single
acell = FpSpread1.ActiveSheet.Cells(0, 0)
size = acell.Column.Width
acell.Text = size
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

Cell Class
Cell Members

 

 


Copyright © GrapeCity, inc. All rights reserved.