Spread Windows Forms 6.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 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

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