GrapeCity.Windows.SpreadSheet.Data Namespace > Worksheet Class > SetColumnResizable Method : SetColumnResizable(Int32,Boolean) Method |
true
to allow users to resize the column.
'Declaration Public Overloads Sub SetColumnResizable( _ ByVal column As System.Integer, _ ByVal value As System.Boolean _ )
'Usage Dim instance As Worksheet Dim column As System.Integer Dim value As System.Boolean instance.SetColumnResizable(column, value)
true
to allow users to resize the column.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)
Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6