Pyae Phyoe Shein
Pyae Phyoe Shein

Reputation: 13787

how to create background watermark in CFReport

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.

Upvotes: 0

Views: 364

Answers (2)

Henry
Henry

Reputation: 32905

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

Upvotes: 1

Dale Fraser
Dale Fraser

Reputation: 4758

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">

Upvotes: 0

Related Questions