Format::setBgColor

Format::setBgColor -- Sets the cell's background color

Synopsis

require_once "Spreadsheet/Excel/Writer.php";

void Format::setBgColor (mixed $color)

Описание

Sets the cell's "background color".

The term "background color" is misleading. Here, "background" means the bottom layer of a cell's background.

This method only comes into play when creating patterns via the setPattern() method. In general, chances are you are more interested in using the setFgColor() method.

The example entitled "How background and foreground colors interact with patterns" is very helpful.

Параметр

Заметка

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

Пример

См. также

setFgColor(), setPattern(), setColor()


HIVE: All information for read only. Please respect copyright!
Hosted by hive йца: йХЕБЯЙЮЪ ЦНПНДЯЙЮЪ АХАКХНРЕЙЮ