XlsPivotField
AddLabelFilter Method
|
Add label filter for pivot field, only for row and column field.
Namespace:
Spire.Xls.Core.Spreadsheet.PivotTables
Assembly:
Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public void AddLabelFilter(
PivotLabelFilterType type,
Object value1,
Object value2
)
Public Sub AddLabelFilter (
type As PivotLabelFilterType,
value1 As Object,
value2 As Object
)
public:
virtual void AddLabelFilter(
PivotLabelFilterType type,
Object^ value1,
Object^ value2
) sealed
abstract AddLabelFilter :
type : PivotLabelFilterType *
value1 : Object *
value2 : Object -> unit
override AddLabelFilter :
type : PivotLabelFilterType *
value1 : Object *
value2 : Object -> unit
Parameters
-
type
-
Type:
Spire.Xls
PivotLabelFilterType
Filter type.
-
value1
-
Type:
System
Object
First filter value.
-
value2
-
Type:
System
Object
Second filter value, only for Between and NotBetween type.
Implements
IPivotField
AddLabelFilter(PivotLabelFilterType, Object, Object)
See Also