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])

Beschreibung

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.

Parameter

Hinweise

Diese Methode kann nicht statisch aufgerufen werden.

Beispiel

Siehe auch

setFgColor(), setBgColor(), setColor()