[]
        
(Showing Draft Content)

GrapeCity.Spreadsheet.Commands.PivotTables.PivotTableCommand.UpdateShowValuesAsSettings

UpdateShowValuesAsSettings Method

UpdateShowValuesAsSettings(IPivotTable, IPivotField, PivotFieldCalculation, NumberFormat, int?, int?)

Initializes a new command to modify GrapeCity.Spreadsheet.Commands.PivotTables.PivotTableCommand.PivotTable show values as settings.

Declaration
public static Command UpdateShowValuesAsSettings(IPivotTable pivotTable, IPivotField pivotField, PivotFieldCalculation calculation, NumberFormat numberFormat, int? baseField = null, int? baseItem = null)
Public Shared Function UpdateShowValuesAsSettings(pivotTable As IPivotTable, pivotField As IPivotField, calculation As PivotFieldCalculation, numberFormat As NumberFormat, Optional baseField As Integer? = Nothing, Optional baseItem As Integer? = Nothing) As Command
Parameters
Type Name Description
IPivotTable pivotTable

The PivotTable report

IPivotField pivotField
PivotFieldCalculation calculation

A PivotFieldCalculation value that represents the type of calculation performed by the specified field.

NumberFormat numberFormat

The number format which indicate how to format and render the numeric value of a cell.

int? baseField

The base field for a custom calculation

int? baseItem

The item in the base field for a custom calculation.

Returns
Type Description
Command