Skip to main content
Inspiring
February 1, 2013
Question

Using cfpdf addWatermark on the developer's edition.

  • February 1, 2013
  • 1 reply
  • 1029 views

I'm trying to add a watermark to a PDF that I generated using cfdocument on my local box with CF 9 developer's edition. I'm not seeing the watermark and I'm wondering if it just won't show in a PDF created with the developer's edition, because CF puts it's own watermark there "Adobe ColdFusion Developer/Trial Edition Not for Production Use". Does anyone know if that's the case? My script seems to be working without any errors but I don't see the watermark image.

This topic has been closed for replies.

1 reply

SteveTXAuthor
Inspiring
February 2, 2013

So the issue, it seems, is that for PDFs generated via cfdocument you have to set the foreground attribute to "yes" for the watermark image to display.

Anit_Kumar
Community Manager
Community Manager
February 4, 2013

The foreground attribute is for placement of the watermark on the page:-

Yes: the watermark appears in the foreground (over the page content).

No: the watermark appears in the background (behind the page content).

If you are using the developer/trial version, then you can't remove/overwrite the watermark from the pdfs created using cfdocument.

We will suggest you, to switch to Standard/Enterprise version for the same.