GrapeCity.Xaml.SpreadSheet.Data
SetColumnVisible Method
Example 


The column index.
The sheet area.
Set to true to display the column.
Sets whether a column in the specified sheet area is displayed.
Syntax
'Declaration
 
Public Sub SetColumnVisible( _
   ByVal column As Integer, _
   ByVal sheetArea As SheetArea, _
   ByVal value As Boolean _
) 
'Usage
 
Dim instance As Worksheet
Dim column As Integer
Dim sheetArea As SheetArea
Dim value As Boolean
 
instance.SetColumnVisible(column, sheetArea, value)
public void SetColumnVisible( 
   int column,
   SheetArea sheetArea,
   bool value
)

Parameters

column
The column index.
sheetArea
The sheet area.
value
Set to true to display the column.
Example
This example uses the SetColumnVisible method.
gcSpreadSheet1.Sheets[0].SetActiveViewport(0, 0);
gcSpreadSheet1.Sheets[0].SetColumnVisible(1, GrapeCity.Xaml.SpreadSheet.Data.SheetArea.Cells, false);
gcSpreadSheet1.Sheets[0].SetRowVisible(3, GrapeCity.Xaml.SpreadSheet.Data.SheetArea.Cells, false);
GcSpreadSheet1.Sheets(0).SetActiveViewport(0, 0)
GcSpreadSheet1.Sheets(0).SetColumnVisible(1, GrapeCity.Xaml.SpreadSheet.Data.SheetArea.Cells, False)
GcSpreadSheet1.Sheets(0).SetRowVisible(3, GrapeCity.Xaml.SpreadSheet.Data.SheetArea.Cells, False)
Requirements

Target Platforms: Windows Server 2012, Windows RT

See Also

Reference

Worksheet Class
Worksheet Members

 

 


Copyright © GrapeCity, inc. All rights reserved.

Support Options