Forum


Replies: 3   Views: 2303
Regarding watermark
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by ajstern  · 05-01-2018 - 11:22

Hello,

I am not able to add multiline watermark in pdf as well as docx document can you please suggest or guide me on this issue it would very helpful for me.

Thanks

Posted by ajstern  · 08-01-2018 - 06:19

Hello,

Thanks, but I want a multiline watermark in the document and unable to break the lines with <br> and \n

 

Thanks 

 

 

 

Posted by admin  · 08-01-2018 - 08:45

Hello,

phpdocx only supports adding images as PDF watermarks. Maybe you can generate an image with GD or ImageMagick with that content and then use phpdocx to add the watermark.

Anyway, we move the request to the dev team to consider adding multiline watermarks to PDFs in a future release of the library.

Regards.