ExcelWorksheet.SetDefaultColumnWidthInChars Method
Sets the default column width in characters for the columns in this worksheet.
Namespace: Winnovative.ExcelLibAssembly: WnvXls_NetCore (in WnvXls_NetCore.dll) Version: 11.0.0
public void SetDefaultColumnWidthInChars(
double columnWidthChars
)
Public Sub SetDefaultColumnWidthInChars (
columnWidthChars As Double
)
public:
void SetDefaultColumnWidthInChars(
double columnWidthChars
)
member SetDefaultColumnWidthInChars :
columnWidthChars : float -> unit
Parameters
- columnWidthChars Double
- The default 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.