Format::setPattern

Format::setPattern -- Sets the fill pattern attribute of a cell

Synopsis

require_once "Spreadsheet/Excel/Writer.php";

void Format::setPattern ([integer $arg=1])

Описание

Sets the fill pattern attribute of a cell. Use in combination with the setBgColor() and setFgColor() methods.

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

Параметр

Заметка

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

Пример

См. также

setFgColor(), setBgColor(), setColor()