PdfStamper doesn't support adding annotations. I expect to have support for
that in early August.

Best Regards,
Paulo Soares

> -----Original Message-----
> From: yun wang [SMTP:[EMAIL PROTECTED]
> Sent: Monday, July 07, 2003 15:03
> To:   [EMAIL PROTECTED]
> Subject:      [iText-questions] Queston about PdfAction and PdfContentByte
> 
> 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


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