HotXLS-dokumentaatio Sisältö Etusivu Yleiskatsaus TGridToXLS IXLSWorkbook Etusivu Sisältö Yleiskatsaus

ColorIndex ominaisuus

Palauttaa or sets the color of the border. The color is specified as an index value into the current color palette, or as one of the following XlColorIndex constants. Read/write LongWord

Syntaksi

property ColorIndex: LongWord;

Kuvaus

ColorIndex can be one of these XlColorIndex constants xlColorIndexAutomatic Use to specify the automatic border color xlColorIndexNone Use to specify no border color

Esimerkki

This example sets the color of the top edge border of A1:D1 range
Workbook.Sheets[1].Range['A1', 'D1'].Borders[xlEdgeTop].ColorIndex := 5; Copyright © 2010-2026 losLab Software