public IXLPivotTable AddNew(string name, IXLCell target, IXLRange source) { var pivotTable = new XLPivotTable { Name = name, TargetCell = target, SourceRange = source }; _pivotTables.Add(name, pivotTable); return(pivotTable); }
public IXLPivotTable Add(string name, IXLCell targetCell, IXLTable table) { var pivotTable = new XLPivotTable(this.Worksheet) { Name = name, TargetCell = targetCell, SourceTable = table }; _pivotTables.Add(name, pivotTable); return(pivotTable); }
public IXLPivotTable AddNew(string name, IXLCell target, IXLRange source) { var pivotTable = new XLPivotTable { Name = name, TargetCell = target, SourceRange = source }; _pivotTables.Add(name, pivotTable); return pivotTable; }