Spread for ASP.NET 11 Product Documentation
SetResizable Method (ISheetAxisModel)
Example 


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread.Model Namespace > ISheetAxisModel Interface : SetResizable Method
Row or column index
Set to True to let users resize the specified row or column
Sets whether users can resize the specified row or column.
Syntax
'Declaration
 
Sub SetResizable( _
   ByVal index As Integer, _
   ByVal value As Boolean _
) 
'Usage
 
Dim instance As ISheetAxisModel
Dim index As Integer
Dim value As Boolean
 
instance.SetResizable(index, value)
void SetResizable( 
   int index,
   bool value
)

Parameters

index
Row or column index
value
Set to True to let users resize the specified row or column
Example
FarPoint.Web.Spread.Model.ISheetAxisModel isa;
isa = (FarPoint.Web.Spread.Model.ISheetAxisModel)FpSpread1.ActiveSheetView.ColumnAxisModel;
isa.SetResizable(2, false);
bool b = isa.GetResizable(2);
string msg = "The column can be moved is " + b.ToString();
Response.Write("<script language='javascript'>alert('" + msg + "')</script>");
Dim isa As FarPoint.Web.Spread.Model.ISheetAxisModel
isa = FpSpread1.ActiveSheetView.ColumnAxisModel
isa.SetResizable(2, False)
Dim b As Boolean = isa.GetResizable(2)
Dim msg As String = "The column can be moved is " & b.ToString()
Response.Write("<script language='javascript'>alert('" & msg & "')</script>")
See Also

Reference

ISheetAxisModel Interface
ISheetAxisModel Members