[]
        
(Showing Draft Content)

FarPoint.Win.Spread.FpSpread.SetViewportTopRow

SetViewportTopRow Method

SetViewportTopRow(int, int)

Sets the top row of cells of the specified viewport row for the active sheet.

Declaration
public void SetViewportTopRow(int rowViewportIndex, int value)
Public Sub SetViewportTopRow(rowViewportIndex As Integer, value As Integer)
Parameters
Type Name Description
int rowViewportIndex

Index of the viewport row

int value

Index of the row to set as the top of that viewport

SetViewportTopRow(int, int, int)

Sets the top row of cells of the specified viewport row for the specified sheet.

Declaration
public void SetViewportTopRow(int sheetIndex, int rowViewportIndex, int value)
Public Sub SetViewportTopRow(sheetIndex As Integer, rowViewportIndex As Integer, value As Integer)
Parameters
Type Name Description
int sheetIndex

Index of the sheet

int rowViewportIndex

Index of the viewport row

int value

Index of the row to set as the top of that viewport

Exceptions
Type Condition
ArgumentOutOfRangeException

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