[]
        
(Showing Draft Content)

FarPoint.Win.Spread.SpreadView.GetViewportTopRow

GetViewportTopRow Method

GetViewportTopRow(int)

Gets the index of the top row of the specified viewport row.

Declaration
public int GetViewportTopRow(int rowViewportIndex)
Public Function GetViewportTopRow(rowViewportIndex As Integer) As Integer
Parameters
Type Name Description
int rowViewportIndex

Viewport row index

Returns
Type Description
int

GetViewportTopRow(int, int)

Gets the index of the top row of the specified viewport row for the specified sheet.

Declaration
public int GetViewportTopRow(int sheetIndex, int rowViewportIndex)
Public Function GetViewportTopRow(sheetIndex As Integer, rowViewportIndex As Integer) As Integer
Parameters
Type Name Description
int sheetIndex

Sheet index

int rowViewportIndex

Viewport row index

Returns
Type Description
int
Exceptions
Type Condition
ArgumentOutOfRangeException

Specified sheet index is not valid; must be between zero and the number of sheets.