Kiran Sagi wrote: > Hi, > > I am a novice in using Itext. I just need to know......... if I can > create a PDF document and also add some attachments to it.
That's done with an annotation: see http://itextdocs.lowagie.com/tutorial/objects/anchors/index.html#annotation and look for the different methods createFileAttachment in class PdfAnnotation. http://itext.ugent.be/library/api/com/lowagie/text/pdf/PdfAnnotation.html#createFileAttachment(com.lowagie.text.pdf.PdfWriter,%20com.lowagie.text.Rectangle,%20java.lang.String,%20byte[],%20java.lang.String,%20java.lang.String) br, Bruno ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
