[]
        
(Showing Draft Content)

FarPoint.Win.Spread.FpSpread.GetColumnViewportCount

GetColumnViewportCount Method

GetColumnViewportCount()

Gets the number of viewport columns in the active sheet.

Declaration
public int GetColumnViewportCount()
Public Function GetColumnViewportCount() As Integer
Returns
Type Description
int

The number of viewport columns

GetColumnViewportCount(int)

Gets the number of viewport columns in the specified sheet.

Declaration
public int GetColumnViewportCount(int sheetIndex)
Public Function GetColumnViewportCount(sheetIndex As Integer) As Integer
Parameters
Type Name Description
int sheetIndex

Sheet index

Returns
Type Description
int

The number of viewport column.

Exceptions
Type Condition
ArgumentOutOfRangeException

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