AddFillColorFilter

AutoFilter.AddFillColorFilter method

Ajoute un filtre de couleur de remplissage.

public void AddFillColorFilter(int fieldIndex, BackgroundType pattern, CellsColor foregroundColor, 
    CellsColor backgroundColor)
ParamètreTaperLa description
fieldIndexInt32Le décalage entier du champ sur lequel vous souhaitez baser le filtre (à partir de la gauche de la liste ; le champ le plus à gauche est le champ 0).
patternBackgroundTypeLe type de motif d’arrière-plan.
foregroundColorCellsColorLa couleur de premier plan.
backgroundColorCellsColorLa couleur de fond.

Voir également