HotXLS Belgeleri

ColorIndex özellik

Döndürür or sets the color of the borders. Renk, geçerli renk paletine bir dizin değeri olarak veya XlColorIndex sabitlerinden biri olarak belirtilir. Okuma/yazma LongWord

Sözdizimi

property ColorIndex: LongWord;

Açıklama

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

Örnek

This example sets the color of the borders of A1:D1 range

Workbook.Sheets[1].Range['A1', 'D1'].Borders.ColorIndex := 5;