Spread ASP.NET 14
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / SheetView Class / SetColumnSizeable Method
Column index
Whether to allow users to resize columns

In This Topic
    SetColumnSizeable Method
    In This Topic
    Sets whether users can resize individual columns.
    Public Sub SetColumnSizeable( _
       ByVal column As Integer, _
       ByVal sizeable As Boolean _
    Dim instance As SheetView
    Dim column As Integer
    Dim sizeable As Boolean
    instance.SetColumnSizeable(column, sizeable)
    public void SetColumnSizeable( 
       int column,
       bool sizeable


    Column index
    Whether to allow users to resize columns

    Set the sizeable parameter to true if you want to let the user resize the specified column.

    To see whether users can resize a column, use the GetColumnSizeable method.

    To specify whether users can resize a specified row, use the SetRowSizeable method.

    This example illustrates the use of this member by returning whether the specified column can be resized.
    FarPoint.Web.Spread.SheetView sv;
    bool b;
    sv = FpSpread1.ActiveSheetView;
    sv.SetColumnLabel(0, 1, "Finance");
    sv.SetColumnSizeable(1, false);
    Dim sv As FarPoint.Web.Spread.SheetView
    Dim b As Boolean
    sv = FpSpread1.ActiveSheetView
    sv.SetColumnSizeable(1, False)
    See Also