Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 2
0
        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);
        }
Ejemplo n.º 3
0
 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;
 }