Aspose::Cells::Pivot::PivotShowValuesSetting class

PivotShowValuesSetting class

Represents the settings about showing values as when the ShowDataAs calculation is in use.

class PivotShowValuesSetting

Methods

MethodDescription
GetBaseFieldIndex()Represents the base field for a ShowDataAs calculation when the ShowDataAs calculation is in use.
GetBaseItemIndex()Represents the custom index of the pivot item in the base field when the ShowDataAs calculation is in use. Valid only for data fields.
GetBaseItemPositionType()Represents type of the base pivot item in the base field when the ShowDataAs calculation is in use. Valid only for data fields. Because PivotItemPosition.Custom is only for read,if you need to set PivotItemPosition.Custom, please set PivotField.BaseItemIndex attribute.
GetCalculationType()Represents how to show values of a data field in the pivot report.
IsNull() constChecks whether the implementation object is nullptr.
explicit operator bool() constoperator bool()
operator=(const PivotShowValuesSetting& src)operator=
PivotShowValuesSetting(PivotShowValuesSetting_Impl* impl)Constructs from an implementation object.
PivotShowValuesSetting(const PivotShowValuesSetting& src)Copy constructor.
SetBaseFieldIndex(int32_t value)Represents the base field for a ShowDataAs calculation when the ShowDataAs calculation is in use.
SetBaseItemIndex(int32_t value)Represents the custom index of the pivot item in the base field when the ShowDataAs calculation is in use. Valid only for data fields.
SetBaseItemPositionType(PivotItemPositionType value)Represents type of the base pivot item in the base field when the ShowDataAs calculation is in use. Valid only for data fields. Because PivotItemPosition.Custom is only for read,if you need to set PivotItemPosition.Custom, please set PivotField.BaseItemIndex attribute.
SetCalculationType(PivotFieldDataDisplayFormat value)Represents how to show values of a data field in the pivot report.
~PivotShowValuesSetting()Destructor.

Fields

FieldDescription
_implThe implementation object.

See Also