Programmer's Reference > ExcelApplication API > ColumnProperties > WidthInChars
Sets or returns the width of the column as a number of '0' characters in the font of the 'Normal' style. This must be a value between 0 - 255.
WidthInChars is a read / write property.
[csharp]
double colWidth = colProps.WidthInChars;
colProps.WidthInChars = 20;
[vbnet]
Dim colWidth As Double = colProps.WidthInChars
colProps.WidthInChars = 20
public double WidthInChars
public void WidthInChars double width
Copyright 2005 © SoftArtisans, Inc. All Rights Reserved.