Dear helper,

I want to add a URL action inside stamp object.  But, my code doesn't work.
Would you please give me help?

Thanks,

yun wang



PdfReader reader = new PdfReader("old.pdf");
PdfStamper stamp = new PdfStamper(reader, new FileOutputStream("output.pdf"));
PdfContentByte cb = stamp.getOverContent(1);
PdfAction action = new PdfAction("http://www.google.com";);
cb.setAction(action, 100,50,200,150);
stamp.close();


_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail




-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to