Add Method (IPivotTables)

Spread.Services Documentation
Add Method (IPivotTables)
Collapse All Expand All Language Filter: All Language Filter: Multiple Language Filter: Visual Basic Language Filter: C#
C#

GrapeCity.Documents.Spread Namespace > IPivotTables Interface : Add Method

The PivotTable cache on which the new PivotTable report is based. The cache provides data for the report.
The cell in the upper-left corner of the PivotTable report's destination range (the range on the worksheet where the resulting report will be placed). You must specify a destination range on the worksheet that contains the PivotTables object specified by expression.
The name of the new PivotTable report.
Adds a new PivotTable report.
Syntax

- C#

    IPivotTable Add(
       IPivotCache PivotCache,
       IRange TableDestination,
       System.string TableName
    )

#### Parameters

PivotCache
  The PivotTable cache on which the new PivotTable report is based. The cache provides data for the report.
TableDestination
  The cell in the upper-left corner of the PivotTable report's destination range (the range on the worksheet where the resulting report will be placed). You must specify a destination range on the worksheet that contains the PivotTables object specified by expression.
TableName
  The name of the new PivotTable report.

#### Return Value

PivotTable object
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

#### Reference

IPivotTables Interface
IPivotTables Members

Copyright © GrapeCity, inc. All rights reserved.

Send Feedback