Spread ASP.NET 16
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / Cell Class / Column Property
Example


In This Topic
    Column Property (Cell)
    In This Topic
    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 for the column containing this cell
    Example
    This example creates a Cell object and returns the Column objects width to a text box.
    FarPoint.Web.Spread.Cell mycell;
    mycell = FpSpread1.Cells[0,0];
    int w;
    w=mycell.Column.Width;
    TextBox1.Text=Convert.ToString(w);
    Dim mycell As FarPoint.Web.Spread.Cell
    mycell=FpSpread1.Cells(0,0)
    Dim w As Integer
    w=mycell.Column.Width
    TextBox1.Text=w
    See Also