Click or drag to resize

ExcelWorksheetGetColumnWidthInChars Method

Gets the specified column width in characters. On a worksheet, you can specify a column width of 0 to 255. This value represents the number of characters that can be displayed in a cell that is formatted with the standard font (standard font: The default text font for worksheets. The standard font determines the default font for the Normal cell style.). The default column width is 8.43 characters.

Namespace:  ExpertXls.ExcelLib
Assembly:  expertxls (in expertxls.dll) Version: 7.0.0
Syntax
public double GetColumnWidthInChars(
	int columnIndex
)

Parameters

columnIndex
Type: SystemInt32
The one based column index.

Return Value

Type: Double
Columns width in chars.
See Also