[]
Change a fields of PivotTable report or PivotChart report.
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
| 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 |
| Type | Description |
|---|---|
| Command | A change command. |