pdx:addBackgroundImage

Inserts a background image into the Word document.

Description

Element definition

This element allows for the insertion of a background image into a Word document.

The image can have the following extensions:

  • jpg or jpeg,
  • png,
  • gif
  • bmp

A background image does not behaves exactly like a watermark but like a standard HTML background image: tiles the entire background.

Attributes and sub-elements
key Description
src File path
Code samples
#Example 1

config.xml

content.xml

settings.xml

The resulting Word document looks like: