Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / SheetView Class / GetColumnSizeable Method
Column index
Example


In This Topic
    GetColumnSizeable Method
    In This Topic
    Gets whether the user can resize a specified column on this sheet.
    Syntax
    'Declaration
     
    Public Function GetColumnSizeable( _
       ByVal column As Integer _
    ) As Boolean
    'Usage
     
    Dim instance As SheetView
    Dim column As Integer
    Dim value As Boolean
     
    value = instance.GetColumnSizeable(column)
    public bool GetColumnSizeable( 
       int column
    )

    Parameters

    column
    Column index

    Return Value

    Boolean: true if users can resize the column; false otherwise
    Example
    This example illustrates the use of this member by returning whether the specified column can be resized.
    bool b;
    fpSpread1.ActiveSheet.SetColumnSizeable(0, false);
    b = fpSpread1.ActiveSheet.GetColumnSizeable(0);
    label1.Text = "GetColumnSizeable for Column 0 = " + b.ToString + " - Try to resize the first column.";
    Dim b As Boolean
    FpSpread1.ActiveSheet.SetColumnSizeable(0, False)
    b = FpSpread1.ActiveSheet.GetColumnSizeable(0)
    Label1.Text = "GetColumnSizeable for Column 0 = " & b.ToString & " - Try to resize the first column."
    See Also