Docs HotXLS

PatternColor-property

Renvoie or sets the color of the interior pattern as an RGB value. Read/write LongWord

Syntaxe

property PatternColor: LongWord;

Exemple

Cet exemple définit la couleur du motif intérieur de la plage A1:C10 sur la feuille un

Workbook.Worksheets[1].Range['A1', 'C10'].Interior.Pattern := xlGrid;
Workbook.Worksheets[1].Range['A1', 'C10'].Interior.PatternColor := RGB(255,0,0);