GrapeCity.Xaml.SpreadSheet.Data
GetColumnVisible(Int32,SheetArea) Method
Example 


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

Parameters

column
The column index.
sheetArea
The sheet area.

Return Value

Returns true if the column is visible in the sheet area; 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.Xaml.SpreadSheet.Data.SheetArea.ColumnHeader).ToString());
listBox1.Items.Add(gcSpreadSheet1.Sheets[0].GetColumnWidth(1).ToString());
listBox1.Items.Add(gcSpreadSheet1.Sheets[0].GetColumnWidth(3, GrapeCity.Xaml.SpreadSheet.Data.SheetArea.ColumnHeader).ToString());
listBox1.Items.Add(gcSpreadSheet1.Sheets(0).GetColumnVisible(4).ToString())
listBox1.Items.Add(gcSpreadSheet1.Sheets(0).GetColumnVisible(2,GrapeCity.Xaml.SpreadSheet.Data.SheetArea.ColumnHeader).ToString())
listBox1.Items.Add(gcSpreadSheet1.Sheets(0).GetColumnWidth(1).ToString())
listBox1.Items.Add(gcSpreadSheet1.Sheets(0).GetColumnWidth(3, GrapeCity.Xaml.SpreadSheet.Data.SheetArea.ColumnHeader).ToString())
See Also

Reference

Worksheet Class
Worksheet Members
Overload List