Spread Windows Forms 13.0 Product Documentation
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / IRange Interface / AutoFit Method
true to include rows or columns that contain custom size, false otherwise


In This Topic
    AutoFit Method
    In This Topic
    Changes the width of the columns or the height of the rows in the range to achieve the best fit.
    Syntax
    'Declaration
     
    Sub AutoFit( _
       Optional ByVal includeCustomSize As Boolean _
    ) 
    'Usage
     
    Dim instance As IRange
    Dim includeCustomSize As Boolean
     
    instance.AutoFit(includeCustomSize)
    void AutoFit( 
       bool includeCustomSize
    )

    Parameters

    includeCustomSize
    true to include rows or columns that contain custom size, false otherwise
    See Also