Spread ASP.NET 14
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / SheetView Class / SetColumnVisible Method
Column index
Whether to display the column

In This Topic
    SetColumnVisible Method
    In This Topic
    Sets whether a column is displayed.
    Public Sub SetColumnVisible( _
       ByVal column As Integer, _
       ByVal visible As Boolean _
    Dim instance As SheetView
    Dim column As Integer
    Dim visible As Boolean
    instance.SetColumnVisible(column, visible)
    public void SetColumnVisible( 
       int column,
       bool visible


    Column index
    Whether to display the column

    Set to True to display the column. Set to False to hide the column.

    To get whether a column is displayed, use the GetColumnVisible method.

    To specify whether a row is displayed, use the SetRowVisible method.

    This example illustrates the use of this member by setting whether the specified column is visible.
    FarPoint.Web.Spread.SheetView sv;
    sv = FpSpread1.ActiveSheetView;
    sv.SetColumnVisible(1, false);
    Dim sv As FarPoint.Web.Spread.SheetView
    sv = FpSpread1.ActiveSheetView
    sv.SetColumnVisible(1, False)
    See Also