hide_item method

hide_item(self, index, is_hidden)

Sets whether the specific PivotItem in a data field is hidden.


def hide_item(self, index, is_hidden):
    ...
ParameterTypeDescription
indexintthe index of the pivotItem in the pivotField.
is_hiddenboolwhether the specific PivotItem is hidden

Remarks

NOTE: This method is now obsolete. Instead, please use PivotField.PivotItems[int].IsHidden property instead . This method will be removed 12 months later since August 2026. Aspose apologizes for any inconvenience you may have experienced.

hide_item(self, item_value, is_hidden)

Sets whether the specific PivotItem in a data field is hidden.


def hide_item(self, item_value, is_hidden):
    ...
ParameterTypeDescription
item_valueSystem.StringThe name of the pivotItem in the pivotField.
is_hiddenboolWhether the specific PivotItem is hidden

Remarks

NOTE: This method is now obsolete. Instead, please use PivotField.PivotItems[string].IsHidden property instead . This method will be removed 12 months later since August 2026. Aspose apologizes for any inconvenience you may have experienced.

See Also