[]
        
(Showing Draft Content)

FarPoint.Win.Spread.FpSpread.SetViewportLeftColumn

SetViewportLeftColumn Method

SetViewportLeftColumn(int, int)

Sets the leftmost column of cells of the specified viewport column for the active sheet.

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

Index of the viewport column

int value

Column index to set as the leftmost column of that viewport

SetViewportLeftColumn(int, int, int)

Sets the leftmost column of cells 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

Index of sheet

int columnViewportIndex

Index of the viewport column

int value

Index of the column to set as the leftmost column of that viewport

Exceptions
Type Condition
ArgumentOutOfRangeException

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