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

This example sets the color of the interior pattern for the range A1:C10 on sheet one

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