[]
Resizes a column to fit its visible contents.
public double AutoSizeColumn(int col, double extra, bool allCells)
Public Function AutoSizeColumn(col As Integer, extra As Double, allCells As Boolean) As Double
| Type | Name | Description |
|---|---|---|
| int | col | Index of the column to resize. |
| double | extra | Extra width to add to the column in pixels. |
| bool | allCells | Whether to measure all cells or only the visible ones. |
| Type | Description |
|---|---|
| double | The new column width in pixels. |