Class XlsPivotTablesCollection
- Namespace
- Spire.Xls.Core.Spreadsheet.Collections
- Assembly
- Spire.XLS.dll
public class XlsPivotTablesCollection : CollectionExtended<IPivotTable>, IList<IPivotTable>, ICollection<IPivotTable>, IEnumerable<IPivotTable>, IEnumerable, IExcelApplication, ICloneParent, IPivotTables
- Inheritance
-
XlsPivotTablesCollection
- Implements
- Derived
- Inherited Members
Properties
Count
public int Count { get; }
Property Value
this[int]
public IPivotTable this[int index] { get; }
Parameters
index
int
Property Value
this[string]
public IPivotTable this[string name] { get; }
Parameters
name
string
Property Value
ParentWorksheet
public XlsWorksheetBase ParentWorksheet { get; }
Property Value
Methods
Add(string, CellRange, PivotCache)
public PivotTable Add(string name, CellRange location, PivotCache cache)
Parameters
name
stringlocation
CellRangecache
PivotCache
Returns
Clear()
public void Clear()
Clone(XlsWorksheet, Dictionary<string, string>)
public PivotTablesCollection Clone(XlsWorksheet worksheet, Dictionary<string, string> hashWorksheetNames)
Parameters
worksheet
XlsWorksheethashWorksheetNames
Dictionary<string, string>
Returns
Remove(IPivotTable)
public void Remove(IPivotTable pivotTable)
Parameters
pivotTable
IPivotTable
Remove(string)
public void Remove(string name)
Parameters
name
string
RemoveAt(int)
public void RemoveAt(int index)
Parameters
index
int