XML API - pdx:setBackgroundColor

pdx:setBackgroundColor

Sets the background color of the Word document.

Note

You are reading the XML API documentation. For the PHP API method please go to setBackgroundColor.

Description

Element definition

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

Attributes and sub-elements

value

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

Code samples

Example #1

config.xml

content.xml

settings.xml

PHP code

The resulting Word document looks like: