Spread WPF Documentation
GetRowViewportCount Method (Worksheet)
Example 


GrapeCity.Windows.SpreadSheet.Data Namespace > Worksheet Class : GetRowViewportCount Method
Gets the row viewport count.
Syntax
'Declaration
 
Public Function GetRowViewportCount() As System.Integer
'Usage
 
Dim instance As Worksheet
Dim value As System.Integer
 
value = instance.GetRowViewportCount()
public System.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.Windows.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.Windows.SpreadSheet.Data.SheetArea.Cells).ToString())
See Also

Reference

Worksheet Class
Worksheet Members