how to create background watermark in CFReport

372 Views Asked by At

I want how to create background watermark (especially Image) in CFReport just like appearing "Developer Edition" text in CFReport when we render if our CF version is developer edition.

2

There are 2 best solutions below

0
On BEST ANSWER

There is a special band called "Watermark" I think, but from what I remember it wasn't easy to position it.

3
On

Not sure if that ability is available, you can probably just add an image to the section you would like the watermark and move it back in the layer order, however that will likely only span that section and not the entire page.

Additionally you can programatically add a watermark use

<cfpdf 
    action="addWatermark" 
    copyFrom="TTTraining.pdf" source="test.pdf" 
    rotation="15“   position="100,0" foreground="true" overwrite="yes" 
    destination="myPDFWatermark.pdf">