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


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

Return Value

The index of the active row viewport.
Example
This example uses the GetActiveRowViewportIndex 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.Xaml.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.Xaml.SpreadSheet.Data.SheetArea.Cells).ToString())
See Also

Reference

Worksheet Class
Worksheet Members