ColorFilter

ColorFilter class

Represents filtering the range by color.

class ColorFilter;

Constructors

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

Properties

PropertyTypeDescription
filterByFillColorbooleanWhether filter by the cell’s fill color.

Methods

MethodDescription
getColor(WorksheetCollection)Gets the color of this filter.
toVObject()Gets the VObject.

constructor(VObject)

Constructs from a VObject convertible to this.

constructor(vobj: VObject);

Parameters:

ParameterTypeDescription
vobjVObjectThe vobject.

filterByFillColor

Whether filter by the cell’s fill color.

filterByFillColor : boolean;

Remarks

True: cell’s fill color; False: cell’s font color.

getColor(WorksheetCollection)

Gets the color of this filter.

getColor(sheets: WorksheetCollection) : Color;

Parameters:

ParameterTypeDescription
sheetsWorksheetCollection

Returns

Color

toVObject()

Gets the VObject.

toVObject() : VObject;