【发布时间】:2012-11-07 01:59:18
【问题描述】:
我想添加一个指向现有 pdf 的链接,该链接可以跳转到另一个页面上的坐标。
我可以使用以下代码添加一个矩形:
PdfContentByte overContent = stamper.GetOverContent(1);
iTextSharp.text.Rectangle rectangle = new Rectangle(10,10,100,100,0);
rectangle.BackgroundColor = BaseColor.BLUE;
overContent.Rectangle(rectangle);
stamper.Close();
我该如何做类似的事情来创建一个可点击的链接?谢谢。
【问题讨论】:
-
考虑标记已接受的答案或评论现有的为什么它们不适合您。
标签: c# .net hyperlink itextsharp