Cells.GetColumnWidth

Cells.GetColumnWidth method

Gets the width(in unit of characters) of the specified column in normal view

public double GetColumnWidth(int column)
ParameterTypeDescription
columnInt32Column index

Return Value

Width of column. For spreadsheet, column width is measured as the number of characters of the maximum digit width of the numbers 0~9 as rendered in the normal style’s font.

See Also