[]
        
(Showing Draft Content)

GrapeCity.Spreadsheet.Commands.PivotTables.PivotTableCommand.ChangeField

ChangeField Method

ChangeField(IPivotTable, int, PivotFieldOrientation, int)

Change a fields of PivotTable report or PivotChart report.

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

The PivotTable report

int position

The index of pivot field

PivotFieldOrientation orientation

Current orientation of pivot field

int newPosition

The new position of pivot field

Returns
Type Description
Command

A change command.