[]
Change a fields of PivotTable report or PivotChart report.
public static Command MoveField(IPivotTable pvTable, int position, PivotFieldOrientation orientation, PivotFieldOrientation newOrientation, int newPosition)
Public Shared Function MoveField(pvTable As IPivotTable, position As Integer, orientation As PivotFieldOrientation, newOrientation 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 |
| PivotFieldOrientation | newOrientation | The new orientation of pivot field |
| int | newPosition | The new position of pivot field |
| Type | Description |
|---|---|
| Command | A change command. |