GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / IRange Interface / AutoFit Method
true to include rows (or columns) that contain custom size, false otherwise
true to include rows (or columns) that is hidden, 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, _
   Optional ByVal includeHidden As Boolean _
) 
 
'Usage
 
Dim instance As IRange
Dim includeCustomSize As Boolean
Dim includeHidden As Boolean
 
instance.AutoFit(includeCustomSize, includeHidden)

Parameters

includeCustomSize
true to include rows (or columns) that contain custom size, false otherwise
includeHidden
true to include rows (or columns) that is hidden, false otherwise
See Also