[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.ISlicerCache.Table

Table Property

Table

Gets the table associated with the slicer cache.

Declaration
ITable Table { get; }
ReadOnly Property Table As ITable
Examples
object[,] sourceData = {{"Category"}, {"Fruit"}, {"Vegetables"}};
worksheet.Range["A1:A3"].Value = sourceData;
ITable table = worksheet.Tables.Add(worksheet.Range["A1:A3"], true);
ISlicerCache slicerCache = workbook.SlicerCaches.Add(table, "Category", "categoryCache");
ITable slicerTable = slicerCache.Table;