Spread Windows Forms 12.0 Product Documentation
AutoFit Method


GrapeCity.Spreadsheet Assembly > GrapeCity.Spreadsheet Namespace > IRange Interface : AutoFit Method
true to include rows that contain custom size, false otherwise
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 that contain custom size, false otherwise
See Also

Reference

IRange Interface
IRange Members