'Declaration
<DefaultMemberAttribute("Item")> Public Class ColumnCollection Inherits WorksheetElement
'Usage
Dim instance As ColumnCollection
[DefaultMember("Item")] public class ColumnCollection : WorksheetElement
'Declaration
<DefaultMemberAttribute("Item")> Public Class ColumnCollection Inherits WorksheetElement
'Usage
Dim instance As ColumnCollection
[DefaultMember("Item")] public class ColumnCollection : WorksheetElement
using( var doc = Workbook.Load( "test.xlsx") ) { var worksheet = doc.Worksheets[ 0 ]; worksheet.Columns[ 1 ].Width = 25d; // Sets column’s “B” width. doc.Save(); }
System.Object
Xceed.Workbooks.NET.WorkbookElement
Xceed.Workbooks.NET.WorksheetElement
Xceed.Workbooks.NET.ColumnCollection
Target Platforms: Windows 11, Windows 10, 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