Ads Inside Post

Search in This Blog

mpdf watermark image is front of text problem

Problem:

Some time working with watermark in MPDF you can see that watermark will show in front of texts or images in the PDF document, So how put the watermark image back side of texts or images in the PDF document.

Solution:

To overcome this problem use watermarkImgBehind property to true

Example:

$mpdf->watermarkImgBehind = true;