how to create background watermark in CFReport
-
26-10-2019 - |
Question
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.
Solution
There is a special band called "Watermark" I think, but from what I remember it wasn't easy to position it.
OTHER TIPS
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">
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow