Spread WPF Documentation
SetRowResizable(Int32,Boolean) Method
Example 


The row index.
Set to true to let the users resize the specified row.
Sets whether users can resize the specified row in the specified sheet area.
Syntax
'Declaration
 
Public Overloads Sub SetRowResizable( _
   ByVal row As System.Integer, _
   ByVal value As System.Boolean _
) 
'Usage
 
Dim instance As Worksheet
Dim row As System.Integer
Dim value As System.Boolean
 
instance.SetRowResizable(row, value)
public void SetRowResizable( 
   System.int row,
   System.bool value
)

Parameters

row
The row index.
value
Set to true to let the users resize the specified row.
Example
This example sets the SetRowResizable method.
gcSpreadSheet1.Sheets[0].Columns[0].CanUserResize = false;
gcSpreadSheet1.Sheets[0].Rows[0].CanUserResize = false;
gcSpreadSheet1.Sheets[0].SetColumnResizable(3, false);
gcSpreadSheet1.Sheets[0].SetRowResizable(3, false);
GcSpreadSheet1.Sheets(0).Columns(0).CanUserResize = False
GcSpreadSheet1.Sheets(0).Rows(0).CanUserResize = False
GcSpreadSheet1.Sheets(0).SetColumnResizable(3, False)
GcSpreadSheet1.Sheets(0).SetRowResizable(3, False)
Requirements

Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional (SP4), Windows XP (SP2), Windows 2008, Windows 2003 Server (SP1)

See Also

Reference

Worksheet Class
Worksheet Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.