This code snippet works when it is part of a writer stream but not stamper

Just want to add a clickable highlight to an existing PDF

Any ideas as to why???? It fails when you add the Stamper.addAnotation line

 

I am using Groovy inside Filemaker..

 

 

 

                             PdfReader reader;

                             PdfStamper stamper;

                             reader = new PdfReader (fm_FileIn) ;

                             stamper = new PdfStamper(reader, new
FileOutputStream( fm_FileOut));

                             Annotation annot = new Annotation(35, 60, 65,
80, new URL("mailto:[email protected]";))

                             stamper.addAnnotation(annot);

                             stamper.close();

 

john renfrew 

Right Way Up 
Office  +44 1675 475341 
Fax      +44 1675 475342 
Mobile +44 7767 443992

 

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
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/

Reply via email to