Visual Basic (Declaration) | |
---|---|
Public Sub SetColumnSizeable( _ ByVal column As Integer, _ ByVal sizeable As Boolean _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As SheetView Dim column As Integer Dim sizeable As Boolean instance.SetColumnSizeable(column, sizeable) |
Parameters
- column
- Column index
- sizeable
- Whether to allow users to resize the column
This example illustrates the use of this member by returning whether the specified column can be resized.
C# | Copy Code |
---|---|
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."; |
Visual Basic | Copy Code |
---|---|
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." |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
Reference
SheetView ClassSheetView Members