Click here to Skip to main content
14,643,989 members
Rate this:
Please Sign up or sign in to vote.
See more:
hi all..
i m new in software development. i need help regarding watermark in asp.net.
i m trying to convert HTML string into PDF using free tool.
i want that in PDF also its shows watermark.
what code i should use.
plz help....
Posted
Updated 4-Oct-11 0:17am
v3
Rate this:
Please Sign up or sign in to vote.

Solution 1

Hi,

If you check these links you can get idea how to do that


http://forums.asp.net/t/1348029.aspx/1

and

http://www.vbforums.com/showthread.php?t=518686


All the Best
   
Rate this:
Please Sign up or sign in to vote.

Solution 2

Just check this, might help you as it is doing watermark for the entire document

http://dotnetslackers.com/articles/aspnet/WatermarkingPDFDocumentsUsingHttpHandlers.aspx[^]
   
Rate this:
Please Sign up or sign in to vote.

Solution 3

You can use HiQPdf. The HiQPdf HTML to PDF Converter raises the PageLayoutingEvent before rendering the page content. In the handler of this event you can add background objects to the PDF page being rendered.
Here is the demo and the source code: http://www.hiqpdf.com/demo/SetPdfBackgroundLayer.aspx[^]
   
Comments
Nelek 18-Dec-12 19:06pm
   
It might be OK if other users have the same problem, but... did you notice that the question was asked 15 months ago?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100