[]
        
(Showing Draft Content)

FarPoint.Win.Spread.FpSpread.SetViewportLeftColumn

SetViewportLeftColumn Method

SetViewportLeftColumn(int, int, bool)

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

Declaration
public void SetViewportLeftColumn(int columnViewportIndex, int value, bool includeFrozenViewport = false)
Public Sub SetViewportLeftColumn(columnViewportIndex As Integer, value As Integer, Optional includeFrozenViewport As Boolean = False)
Parameters
Type Name Description
int columnViewportIndex

Index of the viewport column

int value

Column index to set as the leftmost column of that viewport

bool includeFrozenViewport

true to allow changing frozen viewport; otherwise, changing frozen viewport will be ignored.

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