AutoFilter.AddFillColorFilter

AutoFilter.AddFillColorFilter method

Adds a fill color filter.

public void AddFillColorFilter(int fieldIndex, BackgroundType pattern, CellsColor foregroundColor, 
    CellsColor backgroundColor)
ParameterTypeDescription
fieldIndexInt32The 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.
foregroundColorCellsColorThe foreground color.
backgroundColorCellsColorThe background color.

See Also