Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
使用Aspose.Cells,可以向电子表格中添加数据透视表。 Aspose.Cells具有许多专门用于创建和控制数据透视表的特殊类。 这些类用于创建和设置PivotTable对象的属性,用作数据透视表的构建模块。
数据透视表对象为:
使用Aspose.Cells创建数据透视表,请按照以下步骤进行:
下面的代码示例显示了如何根据上述基本步骤创建一个简单的数据透视表。执行代码时,会在工作表中添加一个数据透视表:
基于相应字段创建数据透视表

Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.