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

Description

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

Note

This function can not be called statically.

Example

See

setFgColor(), setBgColor(), setColor()