You can use document style (custom style):
background-image:'file:///C:\Users\Public\Pictures\Sample Pictures\Chrysanthemum.jpg'
The best way to do this is by superimpose / overlay the document generated by Mendix with an other PDF containing the back-ground or watermark. Using a background-image is not a good choice because of backgrounds, like watermarks and logo's, are usually saved in (PDF) vector format. Using images will increase document size and will decrease quality.
This can easily be done with Java by using Apache PDFBox or IText (http://pdfbox.apache.org/commandlineutilities/Overlay.html). We've implemented this several times and we will apply a PDFTools to the app store soon containing for instance this function.
Thanks, this works partly, but not as desired. I defined the style setting at the document level but the background is applied to the header, body and footer separately and not to the whole document at once. Furthermore the areas between the mentioned report sections and also the defined margins are still blanc.
Is there another solution to solve these issues also?