GrapeCity.Xaml.SpreadSheet.Data
GetActualRowVisible Method
Example 


GrapeCity.Xaml.SpreadSheet.Data Namespace > Worksheet Class : GetActualRowVisible Method
The row index.
The sheet area.
Gets whether the control displays the specified row in the specified sheet area.
Syntax
'Declaration
 
Public Function GetActualRowVisible( _
   ByVal row As Integer, _
   ByVal sheetArea As SheetArea _
) As Boolean
'Usage
 
Dim instance As Worksheet
Dim row As Integer
Dim sheetArea As SheetArea
Dim value As Boolean
 
value = instance.GetActualRowVisible(row, sheetArea)
public bool GetActualRowVisible( 
   int row,
   SheetArea sheetArea
)

Parameters

row
The row index.
sheetArea
The sheet area.

Return Value

Returns true if the row is visible in the sheet area; otherwise, false.
Example
This example uses the GetActualRowVisible method.
listBox1.Items.Add(gcSpreadSheet1.Sheets[0].GetActualColumnWidth(1, GrapeCity.Xaml.SpreadSheet.Data.SheetArea.ColumnHeader).ToString());
listBox1.Items.Add(gcSpreadSheet1.Sheets[0].GetActualColumnWidth(2, 2, GrapeCity.Xaml.SpreadSheet.Data.SheetArea.ColumnHeader).ToString());
listBox1.Items.Add(gcSpreadSheet1.Sheets[0].GetActualRowHeight(2, GrapeCity.Xaml.SpreadSheet.Data.SheetArea.Cells).ToString());
listBox1.Items.Add(gcSpreadSheet1.Sheets[0].GetActualRowHeight(5, 2, GrapeCity.Xaml.SpreadSheet.Data.SheetArea.Cells).ToString());
listBox1.Items.Add(gcSpreadSheet1.Sheets[0].GetActualRowVisible(11,GrapeCity.Xaml.SpreadSheet.Data.SheetArea.RowHeader).ToString());
listBox1.Items.Add(gcSpreadSheet1.Sheets(0).GetActualColumnWidth(1, GrapeCity.Xaml.SpreadSheet.Data.SheetArea.ColumnHeader).ToString())
listBox1.Items.Add(gcSpreadSheet1.Sheets(0).GetActualColumnWidth(2, 2, GrapeCity.Xaml.SpreadSheet.Data.SheetArea.ColumnHeader).ToString())
listBox1.Items.Add(gcSpreadSheet1.Sheets(0).GetActualRowHeight(2, GrapeCity.Xaml.SpreadSheet.Data.SheetArea.Cells).ToString())
listBox1.Items.Add(gcSpreadSheet1.Sheets(0).GetActualRowHeight(5, 2, GrapeCity.Xaml.SpreadSheet.Data.SheetArea.Cells).ToString())
listBox1.Items.Add(gcSpreadSheet1.Sheets(0).GetActualRowVisible(11,GrapeCity.Xaml.SpreadSheet.Data.SheetArea.RowHeader).ToString())
See Also

Reference

Worksheet Class
Worksheet Members