AutoFilterAddFillColorFilter Method

Adds a fill color filter.

Namespace:  Aspose.Cells
Assembly:  Aspose.Cells (in Aspose.Cells.dll) Version: 20.9.0.0 (20.9)
Syntax
public void AddFillColorFilter(
	int fieldIndex,
	BackgroundType pattern,
	CellsColor foregroundColor,
	CellsColor backgroundColor
)

Parameters

fieldIndex
Type: SystemInt32
The 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).
pattern
Type: Aspose.CellsBackgroundType
The background pattern type.
foregroundColor
Type: Aspose.CellsCellsColor
The foreground color.
backgroundColor
Type: Aspose.CellsCellsColor
The background color.
See Also