GrapeCity.Xaml.SpreadSheet.Data
GetRowViewportCount Method (Worksheet)
Example 


GrapeCity.Xaml.SpreadSheet.Data Namespace > Worksheet Class : GetRowViewportCount Method
Gets the row viewport count.
Syntax
'Declaration
 
Public Function GetRowViewportCount() As Integer
'Usage
 
Dim instance As Worksheet
Dim value As Integer
 
value = instance.GetRowViewportCount()
public int GetRowViewportCount()

Return Value

The row viewport count.
Example
This example uses the GetRowViewportCount method.
listBox1.Items.Add(gcSpreadSheet1.Sheets[0].GetRowViewportCount().ToString());
listBox1.Items.Add(gcSpreadSheet1.Sheets[0].GetRowVisible(20).ToString());
listBox1.Items.Add(gcSpreadSheet1.Sheets[0].GetRowVisible(1, GrapeCity.Xaml.SpreadSheet.Data.SheetArea.Cells).ToString());
ListBox1.Items.Add(GcSpreadSheet1.Sheets(0).GetRowViewportCount().ToString())
ListBox1.Items.Add(GcSpreadSheet1.Sheets(0).GetRowVisible(20).ToString())
ListBox1.Items.Add(GcSpreadSheet1.Sheets(0).GetRowVisible(1, GrapeCity.Xaml.SpreadSheet.Data.SheetArea.Cells).ToString())
See Also

Reference

Worksheet Class
Worksheet Members