setBackgroundColor

setBackgroundColor

BASIC / ADVANCED / PREMIUM

Sets the background color of the Word document.

Description
public setBackgroundColor ( string $color )

This method allows you to modify the background color of your Word document.

Parameters

color

Hexadecimal color value: FFFF00, FA0000, 4578AA.s

Return values

Void.

Code samples

Example #1

The resulting Word document looks like: