Excel for WPF and Silverlight
Width Property (XLColumn)

C1.WPF.Excel Namespace > XLColumn Class : Width Property
Gets or sets the width of the column, in twips.
Syntax
'Declaration
 
Public Property Width As System.Integer
public System.int Width {get; set;}
Remarks

A value of -1 indicates that the column should be displayed using the sheet's XLSheet.DefaultColumnWidth.

To convert between pixels and twips, use the C1XLBook.TwipsToPixels and PixelsToTwips methods.

See Also

Reference

XLColumn Class
XLColumn Members