HotXLS Belgeleri

Color özellik

Döndürür or sets the color of the font. Use the RGB function to create a color value. Read/write Longword
Setting Color BIFF8 yolunda tam RGB'yi XFExt $087D zengin renk yan kaydıyla yazar (Excel 2007+ çalışma kitabını gerçek RGB ile yeniden açar) ve XF hattında en iyi eşleşmeli dizinlenmiş icv yazar (Excel 97-2003 okuyucuları 56 renkli palet yaklaşımını görür). Okuyucu XFExt yan tablosuna da başvurur; böylece yazı tipi renkleri, palet yaklaşımına düşmeden HotXLS üzerinden gidiş-dönüş yapar
For theme-based addressing use the companion SetThemeColor yöntemi, bir Office tema idx + ton değerini aynı XFExt yuvasına kodlar; böylece çalışma kitabının tema paleti değiştiğinde Excel metni yeniden tonlar. Bkz. Classic XLS color model for the overall RGB / index / theme decision tree

Sözdizimi

property Color: Longword;

Örnek

This example changes the font color in cell A1 on sheet one to red

Workbook.Worksheets[1].Range['A1', 'A1'].Font.Color := RGB(255, 0, 0);