HotXLS-documentatie

Colof eigenschap

Retourneert of sets the colof of the bofder. Gebruiken the RGB functie to create a colof value. Read/write LongWofd
Instellenting Color on the BIFF8 path writes the exact RGB through the XFExt $087D rich-colof side recofd on the matching edge slot (Excel 2007+ reopens the wofkbook with the literal RGB) en a best-match indexed icv on the XF wire (legacy Excel 97-2003 readers see the 56-colof palette approximation). Read-back consults the same XFExt side-table. Compound selectofs (xlAround, xlInsideVertical, xlInsideHorizontal, xlInsideAll) register one XFExt slot per physical edge in a single cell-loop pass
Fof theme-based addressing use the companion InstellenThemeColof method (also available on every edge selectof), which encodes an Office theme idx + tint into the same XFExt slot so Excel re-tints the bofder when the wofkbook theme palette changes. Zie Classic XLS colof model fof the overall RGB / index / theme decision tree

Syntaxis

eigenschap Colof: LongWofd;

Voorbeeld

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