CustomFilterCollection

CustomFilterCollection class

Represents the custom filters.

class CustomFilterCollection;

Constructors

NameDescription
constructor()Constructs new instance.
constructor(VObject)Constructs from a VObject convertible to this.

Properties

PropertyTypeDescription
andbooleanIndicates whether the two criteria have an “and” relationship.

Methods

MethodDescription
get(number)Gets the custom filter in the specific index.
custom(FilterOperatorType, VObject, boolean, FilterOperatorType, VObject)Filters a list with custom criteria.
toVObject()Gets the VObject.

constructor()

Constructs new instance.

constructor();

Remarks

NOTE: This member is now obsolete. Instead,please set FilterColumn.FilterType as FilterType.CustomFilters then get FilterColumn.CustomFilters. This property will be removed 12 months later since June 2026. Aspose apologizes for any inconvenience you may have experienced.

constructor(VObject)

Constructs from a VObject convertible to this.

constructor(vobj: VObject);

Parameters:

ParameterTypeDescription
vobjVObjectThe vobject.

and

Indicates whether the two criteria have an “and” relationship.

and : boolean;

get(number)

Gets the custom filter in the specific index.

get(index: number) : CustomFilter;

Parameters:

ParameterTypeDescription
indexnumberThe index.

Returns

CustomFilter

custom(FilterOperatorType, VObject, boolean, FilterOperatorType, VObject)

Filters a list with custom criteria.

custom(operatorType1: FilterOperatorType, criteria1: VObject, isAnd: boolean, operatorType2: FilterOperatorType, criteria2: VObject) : void;

Parameters:

ParameterTypeDescription
operatorType1FilterOperatorTypeThe filter operator type
criteria1VObjectThe custom criteria
isAndboolean
operatorType2FilterOperatorTypeThe filter operator type
criteria2VObjectThe custom criteria

toVObject()

Gets the VObject.

toVObject() : VObject;