Spread Silverlight Documentation
GetActualColumnVisible Method
Example 


The column index.
The sheet area.
Gets whether a column in the specified sheet area is displayed.
Syntax
'Declaration
 
Public Function GetActualColumnVisible( _
   ByVal column As System.Integer, _
   ByVal sheetArea As SheetArea _
) As System.Boolean
'Usage
 
Dim instance As Worksheet
Dim column As System.Integer
Dim sheetArea As SheetArea
Dim value As System.Boolean
 
value = instance.GetActualColumnVisible(column, sheetArea)
public System.bool GetActualColumnVisible( 
   System.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 GetActualColumnVisible method.
listBox1.Items.Add(gcSpreadSheet1.Sheets[0].GetActiveColumnViewportIndex().ToString());
listBox1.Items.Add(gcSpreadSheet1.Sheets[0].GetActiveRowViewportIndex().ToString());
listBox1.Items.Add(gcSpreadSheet1.Sheets[0].GetActualColumnVisible(5,GrapeCity.Windows.SpreadSheet.Data.SheetArea.Cells).ToString());
listBox1.Items.Add(gcSpreadSheet1.Sheets(0).GetActiveColumnViewportIndex().ToString())
listBox1.Items.Add(gcSpreadSheet1.Sheets(0).GetActiveRowViewportIndex().ToString())
listBox1.Items.Add(gcSpreadSheet1.Sheets(0).GetActualColumnVisible(5,GrapeCity.Windows.SpreadSheet.Data.SheetArea.Cells).ToString())
Requirements

Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

Reference

Worksheet Class
Worksheet Members

 

 


Copyright © GrapeCity, inc. All rights reserved.