Gets the row viewport's top row index.
public System.int GetViewportTopRow(
System.int
)
'Declaration
Public Function GetViewportTopRow( _
ByVal As System.Integer _
) As System.Integer
'Usage
Dim instance As SheetView
Dim rowViewportIndex As System.Integer
Dim value As System.Integer
value = instance.GetViewportTopRow(rowViewportIndex)
Parameters
- rowViewportIndex
- The row viewport index.
Return Value
The top row index in the row viewport.
This example uses the GetViewportTopRow method.
TextBox1.Text = GcSpreadSheet1.View.GetViewportBottomRow(0).ToString();
//TextBox1.Text = GcSpreadSheet1.View.GetViewportLeftColumn(0).ToString();
//TextBox1.Text = GcSpreadSheet1.View.GetViewportRightColumn(0).ToString();
//TextBox1.Text = GcSpreadSheet1.View.GetViewportTopRow(0).ToString();
TextBox1.Text = GcSpreadSheet1.View.GetViewportBottomRow(0).ToString()
'TextBox1.Text = GcSpreadSheet1.View.GetViewportLeftColumn(0).ToString()
'TextBox1.Text = GcSpreadSheet1.View.GetViewportRightColumn(0).ToString()
'TextBox1.Text = GcSpreadSheet1.View.GetViewportTopRow(0).ToString()
Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional (SP4), Windows XP (SP2), Windows 2008, Windows 2003 Server (SP1)