Visual Basic (Declaration) | |
---|---|
Public Sub SetColumnVisible( _ ByVal column As Integer, _ ByVal visible As Boolean _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As SheetView Dim column As Integer Dim visible As Boolean instance.SetColumnVisible(column, visible) |
Parameters
- column
- Column index
- visible
- Whether to display the column
Set to True to display the column. Set to False to hide the column.
To get whether a column is displayed, use the GetColumnVisible method.
To specify whether a row is displayed, use the SetRowVisible method.
This example illustrates the use of this member by setting whether the specified column is visible.
C# | Copy Code |
---|---|
FarPoint.Web.Spread.SheetView sv;
sv = FpSpread1.ActiveSheetView;
sv.SetColumnVisible(1, false);
|
Visual Basic | Copy Code |
---|---|
Dim sv As FarPoint.Web.Spread.SheetView sv = FpSpread1.ActiveSheetView sv.SetColumnVisible(1, False) |
Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6
Reference
SheetView ClassSheetView Members
GetColumnVisible Method
SetRowVisible Method