[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.ITable.TotalsRange

TotalsRange Property

TotalsRange

Gets the totals row range of the table.

Returns the IRange that represents the totals row of this ITable when the totals row is visible.

Declaration
IRange TotalsRange { get; }
ReadOnly Property TotalsRange As IRange
Examples
worksheet.Range["A1:B3"].Value = new object[,] {
    {"Product", "Amount"},
    {"Apple", 100},
    {"Orange", 200}
};
ITable table = worksheet.Tables.Add(worksheet.Range["A1:B3"], true);
table.ShowTotals = true;
IRange totalsRange = table.TotalsRange;