Spread WinForms 15
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / FpSpread Class / SetViewportPreferredHeight Method / SetViewportPreferredHeight(Int32,Int32,Int32) Method
Sheet index
Row index of viewport
Height value in pixels


SetViewportPreferredHeight(Int32,Int32,Int32) Method
Sets the maximum height of the specified viewport row for the specified sheet.
Syntax
'Declaration
 
Public Overloads Sub SetViewportPreferredHeight( _
   ByVal sheetIndex As Integer, _
   ByVal rowViewportIndex As Integer, _
   ByVal value As Integer _
) 
 
'Usage
 
Dim instance As FpSpread
Dim sheetIndex As Integer
Dim rowViewportIndex As Integer
Dim value As Integer
 
instance.SetViewportPreferredHeight(sheetIndex, rowViewportIndex, value)

Parameters

sheetIndex
Sheet index
rowViewportIndex
Row index of viewport
value
Height value in pixels
Exceptions
ExceptionDescription
Specified sheet index is out of range; must be between 0 and the total number of sheets
See Also