Add background image / watermark to existing PDF documents

Questions, comments and suggestions concerning VintaSoft PDF .NET Plug-in.

Moderator: Alex

Post Reply
SebastianB
Posts: 20
Joined: Thu Sep 27, 2012 12:39 pm

Add background image / watermark to existing PDF documents

Post by SebastianB »

Hi,

I am looking for how to add watermarks or background images to existing PDF documents. In the given scenario another application writes PDF documents on the file system. Those documents should be watermarked and stored. In this scenario the watermark is the letter paper with company logo, address, legal information and so on.

How do I achieve this requirement?

Thanks,
Sebastian
Alex
Site Admin
Posts: 2303
Joined: Thu Jul 10, 2008 2:21 pm

Re: Add background image / watermark to existing PDF documen

Post by Alex »

Hello Sebastian,

I think you should annotate PDF document. Is it not suitable for you?

Best regards, Alexander
SebastianB
Posts: 20
Joined: Thu Sep 27, 2012 12:39 pm

Re: Add background image / watermark to existing PDF documen

Post by SebastianB »

As far as I currently know are there two problems I have with the Annotations:
1) I think we have not licensed it
2) I did some experiments with the Annotation evaluation version some time ago and it seems to be possible for the viewer of the document to hide those annotations.

So I am looking for something which is really part of the document. The result should be similar to result I would get after printing it with a pdf printer.

I was thinking about to ways:
1) Take the existing document and try to draw a picture into it. But it must be drawn behind the existing content.
2) Creating a new pdf document using VintaSoft libraries and copy the existing content on top of the drawn background image.

Is there a solution without Annotations?

Thanks,
Sebastian
Alex
Site Admin
Posts: 2303
Joined: Thu Jul 10, 2008 2:21 pm

Re: Add background image / watermark to existing PDF documen

Post by Alex »

Hello Sebastian,

Please read the "Programming => Document and Image Formats => PDF => Overview => Drawing graphics on PDF page" article in the documentation:
http://www.vintasoft.com/docs/vsimaging-dotnet/

Best regards, Alexander
Post Reply