Dokumentacija HotXLS Sadržaj Početna Pregled TGridToXLS IXLSWorkbook Početna Sadržaj Pregled

ColorIndex svojstvo

Vraća or sets the color of the borders. The color is specified as an index value into the current color palette, or as one of the XlColorIndex constants. Read/write LongWord

Sintaksa

property ColorIndex: LongWord;

Opis

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

Primjer

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