ArininAV

Workbook::setCustomColor

Workbook::setCustomColor -- Change the RGB components of the elements in the colour palette.

Synopsis

require_once "Spreadsheet/Excel/Writer.php";

integer Workbook::setCustomColor (integer $index, integer $red, integer $green, integer $blue)

Описание

Change the RGB components of the elements in the colour palette. The new color, defined by the given RGB components, will "overwrite" the color previously defined for the given index.

Параметр

Возвращаемое значение

integer - The palette index for the custom color

Заметка

Эта функция не должна вызываться статически.

Пример