[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.ITableColumn.Range

Range Property

Range

Gets the IRange that represents this table column.

The returned range covers the cells associated with the current ITableColumn within its parent table.

Declaration
IRange Range { get; }
ReadOnly Property Range As IRange
Examples
worksheet.Range["A1:B3"].Value = new object[,] {
    {"Product", "Amount"},
    {"Apple", 100},
    {"Pear", 200}
};
ITable table = worksheet.Tables.Add(worksheet.Range["A1:B3"], true);
ITableColumn tableColumn = table.Columns[1];
IRange range = tableColumn.Range;