Resizes a column to fit its visible contents.
'Declaration
Public Function AutoSizeColumn( _
ByVal As System.Integer, _
ByVal As System.Double, _
ByVal As System.Boolean _
) As System.Double
public System.double AutoSizeColumn(
System.int ,
System.double ,
System.bool
)
Parameters
- col
- Index of the column to resize.
- extra
- Extra width to add to the column in pixels.
- allCells
- Whether to measure all cells or only the visible ones.
Return Value
The new column width in pixels.