Resizes a range of fixed columns to fit their content.
Syntax
'Declaration
Public Overloads Sub AutoSizeFixedColumns( _
ByVal As System.Integer, _
ByVal As System.Integer, _
ByVal As System.Double, _
ByVal As System.Boolean, _
ByVal As System.Boolean _
)
public void AutoSizeFixedColumns(
System.int ,
System.int ,
System.double ,
System.bool ,
System.bool
)
Parameters
- startCol
- Index of the first column to resize.
- endCol
- Index of the last column to resize.
- extra
- Extra width to add to the column, in pixels.
- allCells
- Whether to measure all cells, including those that are not currently visible.
- skipStars
- Whether to skip star-sized columns.
See Also