[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IPivotCache.CreatePivotTable

CreatePivotTable Method

CreatePivotTable(IRange, string)

基于PivotCache对象创建一个PivotTable报告。

Declaration
IPivotTable CreatePivotTable(IRange TableDestination, string TableName = null)
Parameters
Type Name Description
IRange TableDestination

PivotTable报告目标范围左上角的单元格(即工作表上放置生成的PivotTable报告的范围)。目标范围必须在包含由表达式指定的PivotCache对象的工作簿中的工作表上。

string TableName

新PivotTable报告的名称。

Returns
Type Description
IPivotTable