[]
        
(Showing Draft Content)

GrapeCity.Spreadsheet.Commands.PivotTables.PivotTableCommand.DeleteField

DeleteField Method

DeleteField(IPivotTable, PivotFieldOrientation, int)

Remove row, column, page fields, and data fields from a PivotTable report or PivotChart report.

Declaration
public static Command DeleteField(IPivotTable pvTable, PivotFieldOrientation orientation, int position)
Public Shared Function DeleteField(pvTable As IPivotTable, orientation As PivotFieldOrientation, position As Integer) As Command
Parameters
Type Name Description
IPivotTable pvTable
PivotFieldOrientation orientation

The orientation of pivot field

int position

The index of pivot field

Returns
Type Description
Command

A delete command.