Add Watermark

Add Watermark

Forum member · Sep 3, 2008
I've looked at the help files, is there a way to add a watermark to the page, and how do you do it. I assume you can since you add yours for demo copies.

Re: Add Watermark

Support · Sep 3, 2008
Hello, You can add watermark to the PDF document without any problem. The page elements get added to the PDF document in the order you add them. After generating the PDF document, you can add the watermark using either the Label or Image page element. Refer to the StampPDFs example included with the product download. Thanks, ceTe Software Support Team

Re: Add Watermark

Forum member · Sep 3, 2008
I forgot to mention I am using a dplx file

Re: Add Watermark

Support · Sep 3, 2008
Hello, You can not add watermark on top of the DPLX file. However, after generating the PDF from the DPLX file, you can loop through the pages of the output document and add contents to it. Sample code: DocumentLayout reportDocument = new DocumentLayout("Filepath/design.dplx"); Document document = reportDocument.Run(); document.Pages[0].Elements.Add(new Label(...)); document.Draw( "C:\Temp\report.pdf" ); Thanks, ceTe Software Support Team