Spread Windows Forms 17
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / FpSpread Class / SetViewportPreferredHeight Method / SetViewportPreferredHeight(Int32,Int32) Method
Row index of viewport
Height value in pixels


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

    Parameters

    rowViewportIndex
    Row index of viewport
    value
    Height value in pixels
    See Also