C1.WPF.Excel Namespace > XLColumn Class : Width Property |
'Declaration
Public Property Width As System.Integer
public System.int Width {get; set;}
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.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2