Spread WPF Documentation
GetColumnVisible(Int32) Method
Example 


GrapeCity.Windows.SpreadSheet.Data Namespace > Worksheet Class > GetColumnVisible Method : GetColumnVisible(Int32) Method
The column index.
Gets whether a column in this sheet is displayed.
Syntax
'Declaration
 
Public Overloads Function GetColumnVisible( _
   ByVal column As System.Integer _
) As System.Boolean
'Usage
 
Dim instance As Worksheet
Dim column As System.Integer
Dim value As System.Boolean
 
value = instance.GetColumnVisible(column)
public System.bool GetColumnVisible( 
   System.int column
)

Parameters

column
The column index.

Return Value

Returns true if the column is visible; otherwise, false.
Example
This example uses the GetColumnVisible method.
listBox1.Items.Add(gcSpreadSheet1.Sheets[0].GetColumnVisible(4).ToString());
listBox1.Items.Add(gcSpreadSheet1.Sheets[0].GetColumnVisible(2,GrapeCity.Windows.SpreadSheet.Data.SheetArea.ColumnHeader).ToString());
listBox1.Items.Add(gcSpreadSheet1.Sheets[0].GetColumnWidth(1).ToString());
listBox1.Items.Add(gcSpreadSheet1.Sheets[0].GetColumnWidth(3, GrapeCity.Windows.SpreadSheet.Data.SheetArea.ColumnHeader).ToString());
listBox1.Items.Add(gcSpreadSheet1.Sheets(0).GetColumnVisible(4).ToString())
listBox1.Items.Add(gcSpreadSheet1.Sheets(0).GetColumnVisible(2,GrapeCity.Windows.SpreadSheet.Data.SheetArea.ColumnHeader).ToString())
listBox1.Items.Add(gcSpreadSheet1.Sheets(0).GetColumnWidth(1).ToString())
listBox1.Items.Add(gcSpreadSheet1.Sheets(0).GetColumnWidth(3, GrapeCity.Windows.SpreadSheet.Data.SheetArea.ColumnHeader).ToString())
See Also

Reference

Worksheet Class
Worksheet Members
Overload List