Format::setFgColor (Previous) (Next) Format::setColor

View this page in Last updated: Mon, 02 Jul 2007
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

Format::setBgColor

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

Opis

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.

Parametr

  • mixed $color - either a string (like 'blue'), or an integer (range is [8...63]).

    Please see the "Using colors" section of the manual for more information.

Uwagi

Ta funkcja nie może być wywołana statycznie.

Format::setFgColor (Previous) (Next) Format::setColor

Download Documentation Last updated: Mon, 02 Jul 2007
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
Note by: b5
The background color of a cell is set by setFgColor() (sic Fg!).

The setBgColor() method sets the secondary color when a pattern is used. See description at setFgColor().