ComponentOne FlexPivot for WinForms
C1.Win.C1FlexGrid.4.8 Assembly / C1.Win.C1FlexGrid Namespace / C1FlexGridBase Class / AutoSizeRows Method / AutoSizeRows(Int32,Int32,Int32,Int32,Int32,AutoSizeFlags) Method
Top row in the range.
Left column in the range.
Bottom row in the range.
Right column in the range.
Amount of extra space, in pixels, to add to the row heights.
Flags that control auto-sizing options.

In This Topic
    AutoSizeRows(Int32,Int32,Int32,Int32,Int32,AutoSizeFlags) Method
    In This Topic
    Adjusts the height of a row range to fit the data in a cell range.
    Syntax
    'Declaration
     
    Public Overloads Overridable Sub AutoSizeRows( _
       ByVal topRow As Integer, _
       ByVal leftCol As Integer, _
       ByVal bottomRow As Integer, _
       ByVal rightCol As Integer, _
       ByVal extraSpace As Integer, _
       ByVal flags As AutoSizeFlags _
    ) 
    public virtual void AutoSizeRows( 
       int topRow,
       int leftCol,
       int bottomRow,
       int rightCol,
       int extraSpace,
       AutoSizeFlags flags
    )

    Parameters

    topRow
    Top row in the range.
    leftCol
    Left column in the range.
    bottomRow
    Bottom row in the range.
    rightCol
    Right column in the range.
    extraSpace
    Amount of extra space, in pixels, to add to the row heights.
    flags
    Flags that control auto-sizing options.
    See Also