diff --git a/README.txt b/README.txt index 06b9b3c..5b26e3f 100644 --- a/README.txt +++ b/README.txt @@ -22,4 +22,10 @@ public function testpdf() { // you can call any mPDF method via component, for example: $this->Mpdf->SetWatermarkText("Draft"); + + // Set the showWatermarkText variable to true to get the watermark text. + $this->Mpdf->showWatermarkText = true; + + // you need to call the output method. + $this->Mpdf->Output(); } \ No newline at end of file