Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / Cell Class / Column Property

In This Topic
    Column Property (Cell)
    In This Topic
    Gets the column that contains this cell.
    Public ReadOnly Property Column As Column
    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.
    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
    See Also