[]
        
(Showing Draft Content)

FarPoint.Win.Spread.SpreadView.SetViewportTopRow

SetViewportTopRow Method

SetViewportTopRow(int, int)

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

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

Viewport row index

int value

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

SetViewportTopRow(int, int, int)

Sets the index of the top most row of the specified viewport 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

Sheet index

int rowViewportIndex

Viewport row index

int value

Index of the column to set as the left most of that viewport

Exceptions
Type Condition
ArgumentOutOfRangeException

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

ArgumentOutOfRangeException

Specified viewport row index is not valid; must be between zero and the number of viewport rows.

ArgumentOutOfRangeException

Specified value is not valid; must be between zero and the number of rows in the sheet.