[]
        
(Showing Draft Content)

FarPoint.Win.Spread.SpreadView.GetViewportPreferredWidth

GetViewportPreferredWidth Method

GetViewportPreferredWidth(int)

Gets the maximum width for the viewport column.

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

GetViewportPreferredWidth(int, int)

Gets the maximum width for the viewport column for the specified sheet.

Declaration
public int GetViewportPreferredWidth(int sheetIndex, int columnViewportIndex)
Public Function GetViewportPreferredWidth(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
Exceptions
Type Condition
ArgumentOutOfRangeException

Specified sheet index is not valid; must be between 0 and total number of sheets.