Aspose::Cells::AutoFilter::AddFillColorFilter method

AutoFilter::AddFillColorFilter method

Adds a fill color filter.

void Aspose::Cells::AutoFilter::AddFillColorFilter(int32_t fieldIndex, BackgroundType pattern, const CellsColor &foregroundColor, const CellsColor &backgroundColor)
ParameterTypeDescription
fieldIndexint32_tThe integer offset of the field on which you want to base the filter (from the left of the list; the leftmost field is field 0).
patternBackgroundTypeThe background pattern type.
foregroundColorconst CellsColor&The foreground color.
backgroundColorconst CellsColor&The background color.

See Also