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

Descripción

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.

Parámetro

Nota

Esta función no puede ser llamada estáticamente.

Ejemplo

Ver

setFgColor(), setBgColor(), setColor()