Table of Contents

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

int

this[int]

public IPivotTable this[int index] { get; }

Parameters

index int

Property Value

IPivotTable

this[string]

public IPivotTable this[string name] { get; }

Parameters

name string

Property Value

IPivotTable

ParentWorksheet

public XlsWorksheetBase ParentWorksheet { get; }

Property Value

XlsWorksheetBase

Methods

Add(string, CellRange, PivotCache)

public PivotTable Add(string name, CellRange location, PivotCache cache)

Parameters

name string
location CellRange
cache PivotCache

Returns

PivotTable

Clear()

public void Clear()

Clone(XlsWorksheet, Dictionary<string, string>)

public PivotTablesCollection Clone(XlsWorksheet worksheet, Dictionary<string, string> hashWorksheetNames)

Parameters

worksheet XlsWorksheet
hashWorksheetNames Dictionary<string, string>

Returns

PivotTablesCollection

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