如何使用asp.net在pdf中添加水印 [英] How to add watermark in pdf using asp.net

查看:144
本文介绍了如何使用asp.net在pdf中添加水印的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好..

我是软件开发的新手。我需要有关asp.net中水印的帮助。

im尝试使用免费工具将HTML字符串转换为PDF格式。

i希望在PDF中也显示水印。

我应该使用什么代码。

plz help ....

解决方案





如果您查看这些链接,您可以了解如何操作





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

< br $> b $ b和



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





所有最佳


检查一下,可能会帮助你,因为它正在为整个文件做水印



http://dotnetslackers.com/articles/aspnet/WatermarkingPDFDocument sUsingHttpHandlers.aspx [ ^ ]

您可以使用HiQPdf。 HiQPdf HTML到PDF转换器在呈现页面内容之前引发PageLayoutingEvent。在此事件的处理程序中,您可以将背景对象添加到正在呈现的PDF页面。

以下是演示和源代码: http://www.hiqpdf.com/demo /SetPdfBackgroundLayer.aspx [ ^ ]

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....

解决方案

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


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

http://dotnetslackers.com/articles/aspnet/WatermarkingPDFDocumentsUsingHttpHandlers.aspx[^]


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[^]


这篇关于如何使用asp.net在pdf中添加水印的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆