HotXLS Belgeleri

Color özellik

Döndürür or sets the color of the border. Use the RGB function to create a color value. Read/write LongWord
Setting Color BIFF8 yolunda tam RGB'yi, eşleşen kenar yuvasındaki 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 (eski Excel 97-2003 okuyucuları 56 renkli palet yaklaşımını görür). Geri okuma aynı XFExt yan tablosuna başvurur. Bileşik seçiciler (xlAround, xlInsideVertical, xlInsideHorizontal, xlInsideAll) register one XFExt slot per physical edge in a single cell-loop pass
For theme-based addressing use the companion SetThemeColor yöntemi (her kenar seçicide de mevcut), 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 kenarlığı yeniden tonlar. Bkz. Classic XLS color model for the overall RGB / index / theme decision tree

Sözdizimi

property Color: LongWord;

Örnek

This example sets the color of the top edge border of A1:D1 range
Workbook.Sheets[1].Range['A1', 'D1'].Borders[xlEdgeTop].Color := RGB(0, 255, 0);