[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.ITable.Columns

Columns Property

Columns

Gets the collection of columns in this ITable.

The returned ITableColumns collection contains all columns that belong to the table, including their names and data ranges.

Declaration
ITableColumns Columns { get; }
ReadOnly Property Columns As ITableColumns
Examples
worksheet.Range["A1:B3"].Value = new object[,] {
    {"Name", "Sales"},
    {"Apple", 100},
    {"Orange", 200}
};
ITable table = worksheet.Tables.Add(worksheet.Range["A1:B3"], true);
ITableColumns columns = table.Columns;
ITableColumn salesColumn = columns[1];