Spread WinForms 15
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / SpreadView Class / GetViewportWidth Method / GetViewportWidth(Int32,Int32) Method
Index of the sheet
Index of the viewport column


GetViewportWidth(Int32,Int32) Method
Gets the width of the specified viewport column of the specified sheet.
Syntax
'Declaration
 
Public Overloads Function GetViewportWidth( _
   ByVal sheetIndex As Integer, _
   ByVal columnViewportIndex As Integer _
) As Integer
 
'Usage
 
Dim instance As SpreadView
Dim sheetIndex As Integer
Dim columnViewportIndex As Integer
Dim value As Integer
 
value = instance.GetViewportWidth(sheetIndex, columnViewportIndex)

Parameters

sheetIndex
Index of the sheet
columnViewportIndex
Index of the viewport column
Exceptions
ExceptionDescription
Specified sheet index is not valid; must be between zero and the number of sheets.
See Also