[]
        
(Showing Draft Content)

FarPoint.Win.Spread.FpSpread.GetViewportLeftColumn

GetViewportLeftColumn Method

GetViewportLeftColumn(int)

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

Declaration
public int GetViewportLeftColumn(int columnViewportIndex)
Public Function GetViewportLeftColumn(columnViewportIndex As Integer) As Integer
Parameters
Type Name Description
int columnViewportIndex

Viewport column index

Returns
Type Description
int

The leftmost column of the specified viewport.

GetViewportLeftColumn(int, int)

Gets the leftmost column of cells of the specified viewport column for the specified sheet.

Declaration
public int GetViewportLeftColumn(int sheetIndex, int columnViewportIndex)
Public Function GetViewportLeftColumn(sheetIndex As Integer, columnViewportIndex As Integer) As Integer
Parameters
Type Name Description
int sheetIndex

Sheet index

int columnViewportIndex

Viewport column index

Returns
Type Description
int

The leftmost column of the specified viewport.

Exceptions
Type Condition
ArgumentOutOfRangeException

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