Hi there,
I tried using the code in the link you passed on. It is throwing an error
with this line.
stamper.GetWriter()
iTextSharp.text.pdf.PdfStamper does not contain a definition for 'GetWriter'
and no extension method 'GetWriter'
Can you help?
Prasad.
On Thu, Apr 8, 2010 at 10:33 AM, 1T3XT info <[email protected]> wrote:
> Gurla Prasad wrote:
> > Dear All,
> >
> > Is it possible to add javascript to a pdf (open event) using itextSharp?
> > I tried using pdfwriter and PdfAction.Javascript() and it does add the
> > javascript however, the annotation information in the pdf is lost.
> >
> > Is it possible to add javascript using pdfcopy so that the annotation
> > information is preserved?
>
> Why PdfCopy? Adding JavaScript to existing documents is generally done
> with PdfStamper (as documented):
> http://itextpdf.com/examples/index.php?page=example&id=238
>
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>
> Buy the iText book: http://www.itextpdf.com/book/
> Check the site with examples before you ask questions:
> http://www.1t3xt.info/examples/
> You can also search the keywords list:
> http://1t3xt.info/tutorials/keywords/
>
--
kalpanaprasad
Serskamp
Belgium
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://www.itextpdf.com/book/
Check the site with examples before you ask questions:
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/