[]
        
(Showing Draft Content)

FarPoint.Win.Spread.SpreadView.SetViewportLeftColumn

SetViewportLeftColumn Method

SetViewportLeftColumn(int, int)

Sets the index of the left most column of the specified viewport column.

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

Viewport column index

int value

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

SetViewportLeftColumn(int, int, int)

Sets the index of the left most column of the specified viewport column for the specified sheet.

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

Sheet index

int columnViewportIndex

Viewport column 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 column index is not valid; must be between zero and the number of viewport columns.

ArgumentOutOfRangeException

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