Closed zsr228 closed 5 years ago
To make a watermark that repeats on each page, use the SetHeaderFunc()
method. This lets you draw anywhere on the page as long as you reset the X and Y values before leaving the header function so that normal content begins where expected.
Adding a watermark to a document is demonstrated in the TransformRotate example.
3q, @jung-kurt , tomorrow let me have a try。
pdf.SetHeaderFunc() can add watermark,thank u。 another problem is, I did't find open exist pdf function @jung-kurt and when to support chinese(issues/109 I had read) ?
I had read issues/8,all my problem has resolved. but I still expect other contributor can finish read a pdf file as a template function. Best wish to gofpdf.
Please reopen if this is still an issue.
As title, In your fpdf_test.go , I can't find a function to add watermark to pdf ?