Spread ASP.NET 14
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread.Model Namespace / BaseSheetAxisModel Class / GetResizable Method
Row or column index
Example


In This Topic
    GetResizable Method (BaseSheetAxisModel)
    In This Topic
    Gets whether users can resize the specified row or column. (This implementation always returns true.)
    Syntax
    'Declaration
     
    Public Overridable Function GetResizable( _
       ByVal index As Integer _
    ) As Boolean
    'Usage
     
    Dim instance As BaseSheetAxisModel
    Dim index As Integer
    Dim value As Boolean
     
    value = instance.GetResizable(index)
    public virtual bool GetResizable( 
       int index
    )

    Parameters

    index
    Row or column index

    Return Value

    true if the row or column is resizable by the user; false otherwise
    Example
    This example returns whether the specified row or column can be resized.
    FarPoint.Web.Spread.Model.BaseSheetAxisModel b;
    bool tf;
    b = (FarPoint.Web.Spread.Model.BaseSheetAxisModel)FpSpread1.ActiveSheetView.ColumnAxisModel;
    b.SetResizable(0, false);
    tf = b.GetResizable(0);
    Response.Write(tf.ToString()); 
    
    Dim b As FarPoint.Web.Spread.Model.BaseSheetAxisModel
    Dim tf As Boolean
    b = FpSpread1.ActiveSheetView.ColumnAxisModel
    b.SetResizable(0, False)
    tf = b.GetResizable(0)
    Response.Write(tf.ToString()) 
    See Also