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

Glossary Item Box

Gets the column that contains this cell.


Visual Basic (Declaration) 
Public ReadOnly Property Column As Column
Visual Basic (Usage)Copy Code
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


This property is available at run time only.


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


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

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.