[]
        
(Showing Draft Content)

FarPoint.Win.Spread.FpSpread.GetViewportBottomRow

GetViewportBottomRow Method

GetViewportBottomRow(int)

Gets the row after the last row of the specified viewport for the active sheet.

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

Viewport row index

Returns
Type Description
int

The row after the last row of the specified viewport.

GetViewportBottomRow(int, int)

Gets the row after the last row of the specified viewport for the specified sheet.

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

Index of sheet

int rowViewportIndex

Index of viewport row

Returns
Type Description
int

The row after the last row of the specified viewport.

Exceptions
Type Condition
ArgumentOutOfRangeException

Specified sheet index is out of range; must be between 0 and the total number of sheets